summaryrefslogtreecommitdiff
path: root/otfl-font-otf.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-02-26 17:47:33 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-02-26 17:47:33 +0200
commit44edf674bc30f87263c01103774d60400b8b3915 (patch)
treeaa1b3c00b87c828c0e364ac21657791c13406861 /otfl-font-otf.lua
parent304e36323def6d2ae7abc75abf50cd16605a78ee (diff)
downloadluaotfload-44edf674bc30f87263c01103774d60400b8b3915.tar.gz
Sync with context beta 2012.02.21 14:02
Diffstat (limited to 'otfl-font-otf.lua')
-rw-r--r--otfl-font-otf.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/otfl-font-otf.lua b/otfl-font-otf.lua
index 03376f9..27a64e9 100644
--- a/otfl-font-otf.lua
+++ b/otfl-font-otf.lua
@@ -49,7 +49,7 @@ local otf = fonts.handlers.otf
otf.glists = { "gsub", "gpos" }
-otf.version = 2.735 -- beware: also sync font-mis.lua
+otf.version = 2.736 -- beware: also sync font-mis.lua
otf.cache = containers.define("fonts", "otf", otf.version, true)
local fontdata = fonts.hashes.identifiers
@@ -848,7 +848,7 @@ actions["analyze glyphs"] = function(data,filename,raw) -- maybe integrate this
local properties = data.properties
local hasitalics = false
local widths = { }
- local marks = { }
+ local marks = { } -- always present (saves checking)
for unicode, description in next, descriptions do
local glyph = description.glyph
local italic = glyph.italic_correction
@@ -1029,7 +1029,8 @@ actions["reorganize subtables"] = function(data,filename,raw)
for k=1,#dw do
local gk = dw[k]
local features = gk.features
- if features and supported(features) then
+-- if features and supported(features) then
+ if not features or supported(features) then -- not always features !
local typ = gk.type
local chain = g_directions[typ] or 0
local subtables = gk.subtables
@@ -1057,7 +1058,6 @@ actions["reorganize subtables"] = function(data,filename,raw)
--
local name = gk.name
--
- local features = gk.features
if features then
-- scripts, tag, ismac
local f = { }