diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-05 23:15:57 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-05 23:15:57 +0300 |
commit | 18340b7b6238d2c9362bd6920c9b7031f7dd794a (patch) | |
tree | 56de5bb0a6e751429aac62f5908c778ae40cb6e8 /otfl-luat-dum.lua | |
parent | f4a1b50c01c511bb4deb382f81d3b8f633bce4d0 (diff) | |
download | luaotfload-18340b7b6238d2c9362bd6920c9b7031f7dd794a.tar.gz |
Improve capheight guessing a bit
We first check if the font have a non-zero os2_capheight and use it,
else we use the height of "X" glyph, else we set capheight to the font's
ascender. The later can be improved by checking certain glyphs in other
scripts (Greek, Cyrillic etc.)
Diffstat (limited to 'otfl-luat-dum.lua')
0 files changed, 0 insertions, 0 deletions