summaryrefslogtreecommitdiff
path: root/otfl-font-otb.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-04-02 07:29:34 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-04-02 09:34:09 +0200
commite829a47bf78db8f1a9f691dcd7b096eab58040ad (patch)
tree73f1d8e22c17d1dd2861718f25460865fc9a1080 /otfl-font-otb.lua
parent6ef791e91eb0c497494cbb12063d9ef72841080e (diff)
downloadluaotfload-e829a47bf78db8f1a9f691dcd7b096eab58040ad.tar.gz
Fix optical size matching
With the previous commit, if we don't found a font with the requested optical size, we return nothing, though we might have a matching font name. Now we store all matching names with no matching optical size and return the first one, then we return the closest match (i.e. if the requested size is 15pt and we have 10pt and 5pt match, we return the 10pt one).
Diffstat (limited to 'otfl-font-otb.lua')
0 files changed, 0 insertions, 0 deletions