Commit Graph

9 Commits (8efdff65d329446ed20d7e11c2a56a686f058f8b)

Author SHA1 Message Date
chrox 3f3e434157 rescale font size when fallbacks to fallback fonts
and make FreeSerif font the default font instead of DroidSansFallback

This patch should fix #272.
11 years ago
HW 25faf7e1a4 fixed bugs in implementation of utf8Chars() 11 years ago
HW 61c232e0e9 add a UTF8 character iterator
this speeds up font rendering since LuaJIT doesn't have to use
the interpreter for string.gsub(), which was used before
11 years ago
chrox bbfa6428aa add glyph fallbacks
if glyph is not found in specified fontface, fallback fonts are checked
on by one until a glyph is found.
11 years ago
chrox 01f045e7f9 add standalone glyph cache
I found it will be especially helpful to cache glyph separately
so that glyph caches won't be washed out by a single page cache.
11 years ago
chrox 26e2435fc6 render text with background and foreground 'color' 11 years ago
Qingping Hou e3b567b2b1 fix kerning for Utf8Text family methods from tigran123
refer to master pullrequest #386 and #383, related
commits are (all in master(kpv) tree):
cb25029ddd
c7b4cf71f8
379cba7b68
12 years ago
HW 60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
12 years ago
HW 9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
12 years ago