diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-05-25 18:21:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-05-25 18:21:00 +0200 |
commit | 1a79212b9db5cc410f1785e11e909e73a4e49418 (patch) | |
tree | cfd6319afff394147e7a969f62d4afec95f7bffb /tex/generic | |
parent | 30fd2db85f1f8f25fe61736d05f4e436e5a21903 (diff) | |
download | context-1a79212b9db5cc410f1785e11e909e73a4e49418.tar.gz |
beta 2012.05.25 18:21
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 17 |
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 |