From f9a875c39c19e25a6744db40c39935c880a95cc0 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 10 Jun 2009 23:24:34 +0300 Subject: 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. --- otfl-font-tfm.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'otfl-font-tfm.lua') 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.* -- cgit v1.2.3