From f2b2b467de8e4c58a19859a713694ae50afb00be Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 19 Oct 2011 03:28:47 +0200 Subject: Sync with ConTeXt beta 2011.10.19 00:02 --- otfl-font-con.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'otfl-font-con.lua') diff --git a/otfl-font-con.lua b/otfl-font-con.lua index 5352977..75d90f1 100644 --- a/otfl-font-con.lua +++ b/otfl-font-con.lua @@ -426,7 +426,9 @@ function constructors.scale(tfmdata,specification) end end -- - local sharedkerns = { } + local sharedkerns = { } + -- + -- we can have a dumb mode (basemode without math etc) that skips most -- for unicode, character in next, characters do local chr, description, index, touni @@ -528,7 +530,7 @@ function constructors.scale(tfmdata,specification) chr[italickey] = vi*hdelta end elseif hasitalic then - local vi = description.italic or character.italic -- why character + local vi = description.italic -- or character.italic hm, already scaled ! if vi and vi ~= 0 then chr[italickey] = vi*hdelta end -- cgit v1.2.3