diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-02-18 10:50:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-02-18 10:50:00 +0100 |
commit | 74eb35dc817c64a5d8b6fea1b8acdf58e611a5e3 (patch) | |
tree | 0207a81f02c6dc7eedadc3ca0606aedd08a8c929 /tex/context/base/font-otn.lua | |
parent | 4ad4129b06a3b631031f39a778ebdd210ed09ab4 (diff) | |
download | context-74eb35dc817c64a5d8b6fea1b8acdf58e611a5e3.tar.gz |
beta 2012.02.18 10:50
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r-- | tex/context/base/font-otn.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua index 1e552d35a..edef853de 100644 --- a/tex/context/base/font-otn.lua +++ b/tex/context/base/font-otn.lua @@ -730,9 +730,11 @@ function handlers.gpos_mark2mark(start,kind,lookupname,markanchors,sequence) local markchar = start.char if marks[markchar] then local base = start.prev -- [glyph] [basemark] [start=mark] -while base and has_attribute(base,markdone) and has_attribute(base,markdone) ~= has_attribute(start,markdone) do - base = base.prev -- KE: prevents mknk fo rmarks on different components of a ligature -end + -- new + while base and has_attribute(base,markdone) and has_attribute(base,markdone) ~= has_attribute(start,markdone) do + base = base.prev -- KE: prevents mknk fo rmarks on different components of a ligature + end + -- if base and base.id == glyph_code and base.subtype<256 and base.font == currentfont then -- subtype test can go local basechar = base.char local baseanchors = descriptions[basechar] |