summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-02-18 12:20:14 +0200
committerMarius <mariausol@gmail.com>2012-02-18 12:20:14 +0200
commit804ec91e98cd955dc41da3ea7f2a438f485d9b40 (patch)
treed2f44568123f541c4561e869773960ef8013e421 /tex/context/base/font-otn.lua
parentfe56e4783cc39ca2f48f4bed60961a6e212e6476 (diff)
downloadcontext-804ec91e98cd955dc41da3ea7f2a438f485d9b40.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.lua8
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]