diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2009-06-10 23:24:34 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2009-06-11 01:10:16 +0300 |
commit | f9a875c39c19e25a6744db40c39935c880a95cc0 (patch) | |
tree | 6b55a6b48750103fde80ee6091e3423112177c1f /otfl-font-tfm.lua | |
parent | 1ef10e57241a65e8ce2aeefdd83874e8999b7b44 (diff) | |
download | luaotfload-f9a875c39c19e25a6744db40c39935c880a95cc0.tar.gz |
Sync with ConTeXt 2009.06.10 20:06, fixes bug with undefined fonts.register_message function that would crash luatex with certain fonts, pluse more.
Diffstat (limited to 'otfl-font-tfm.lua')
-rw-r--r-- | otfl-font-tfm.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/otfl-font-tfm.lua b/otfl-font-tfm.lua index 9210fee..472f69c 100644 --- a/otfl-font-tfm.lua +++ b/otfl-font-tfm.lua @@ -540,10 +540,6 @@ function tfm.do_scale(tfmtable, scaledpoints) -- we have t.name=metricfile and t.fullname=RealName and t.filename=diskfilename -- when collapsing fonts, luatex looks as both t.name and t.fullname as ttc files -- can have multiple subfonts ---~ collectgarbage("collect") ---~ t.fontname = t.fontname or t.fullname ---~ t.name = t.name or t.fontname ---~ print(t.fullname,table.serialize(characters[string.byte('W')].kerns)) return t, delta end @@ -691,7 +687,7 @@ function tfm.enhance(tfmdata,specification) tfmdata.shared = tfmdata.shared or { } tfmdata.shared.features = features -- tfmdata.shared.tfmdata = tfmdata -- circular -tfmdata.filename = specification.name + tfmdata.filename = specification.name if not features.encoding then local name, size = specification.name, specification.size local encoding, filename = match(name,"^(.-)%-(.*)$") -- context: encoding-name.* |