summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex-fonts-merged.lua12
1 files changed, 9 insertions, 3 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua
index bb67b59af..a6ee0673c 100644
--- a/tex/generic/context/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 10/14/10 13:14:44
+-- merge date : 10/18/10 11:11:34
do -- begin closure to overcome local limits and interference
@@ -5505,6 +5505,7 @@ local otf = fonts.otf
local tfm = fonts.tfm
local fontdata = fonts.ids
+local chardata = characters.data
otf.features = otf.features or { }
otf.features.list = otf.features.list or { }
@@ -6218,8 +6219,13 @@ actions["analyze glyphs"] = function(data,filename,raw) -- maybe integrate this
end
local width = glyph.width
widths[width] = (widths[width] or 0) + 1
- if glyph.class == "mark" then
- marks[glyph.unicode] = true
+ local class = glyph.class
+ local unicode = glyph.unicode
+ if class == "mark" then
+ marks[unicode] = true
+ -- elseif chardata[unicode].category == "mn" then
+ -- marks[unicode] = true
+ -- glyph.class = "mark"
end
local a = glyph.altuni if a then glyph.altuni = nil end
local d = glyph.dependents if d then glyph.dependents = nil end