summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-05-25 19:40:14 +0300
committerMarius <mariausol@gmail.com>2012-05-25 19:40:14 +0300
commit70bceaf73bc80f2c400205d0f6fa181e79b07def (patch)
treec84627ab598c2479873d9fef170ffdf3bfa9a773 /tex/generic
parent7f26897aecc7d4bc71486a4cb658cb6b4843aa5d (diff)
downloadcontext-70bceaf73bc80f2c400205d0f6fa181e79b07def.tar.gz
beta 2012.05.25 18:21
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua17
1 files changed, 10 insertions, 7 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index 32f7365f0..ad962eb88 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 05/24/12 19:36:52
+-- merge date : 05/25/12 18:21:28
do -- begin closure to overcome local limits and interference
@@ -5397,7 +5397,7 @@ local otf = fonts.handlers.otf
otf.glists = { "gsub", "gpos" }
-otf.version = 2.736 -- beware: also sync font-mis.lua
+otf.version = 2.737 -- beware: also sync font-mis.lua
otf.cache = containers.define("fonts", "otf", otf.version, true)
local fontdata = fonts.hashes.identifiers
@@ -6686,12 +6686,15 @@ local function check_variants(unicode,the_variants,splitter,unicodes)
local g = glyphs[i]
if done[g] then
report_otf("skipping cyclic reference U+%05X in math variant U+%05X",g,unicode)
- elseif n == 0 then
- n = 1
- variants = { g }
else
- n = n + 1
- variants[n] = g
+ if n == 0 then
+ n = 1
+ variants = { g }
+ else
+ n = n + 1
+ variants[n] = g
+ end
+ done[g] = true
end
end
if n == 0 then