summaryrefslogtreecommitdiff
path: root/otfl-font-con.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-10-19 03:28:47 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-10-19 03:28:47 +0200
commitf2b2b467de8e4c58a19859a713694ae50afb00be (patch)
tree9320b025aa773302fc1ebe51c09f0e614914cfc7 /otfl-font-con.lua
parent2b0964ac028a724842ad37514d30c8bccbf9c354 (diff)
downloadluaotfload-f2b2b467de8e4c58a19859a713694ae50afb00be.tar.gz
Sync with ConTeXt beta 2011.10.19 00:02
Diffstat (limited to 'otfl-font-con.lua')
-rw-r--r--otfl-font-con.lua6
1 files changed, 4 insertions, 2 deletions
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