From ec84960ca720596a893b4e8c3e127f7aab571f10 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 18 Oct 2010 11:11:00 +0200 Subject: beta 2010.10.18 11:11 --- tex/generic/context/luatex-fonts-merged.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tex/generic') 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 -- cgit v1.2.3