diff options
Diffstat (limited to 'tex/context/base/mkiv/font-oup.lua')
-rw-r--r-- | tex/context/base/mkiv/font-oup.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-oup.lua b/tex/context/base/mkiv/font-oup.lua index 79ac76abe..7ba8af8b1 100644 --- a/tex/context/base/mkiv/font-oup.lua +++ b/tex/context/base/mkiv/font-oup.lua @@ -674,7 +674,8 @@ local function unifyglyphs(fontdata,usenames) for index=1,#glyphs do local glyph = glyphs[index] local unicode = glyph.unicode -- this is the primary one - if not unicode then + -- if not unicode then -- some fonts use the private space + if not unicode or unicode >= private or (unicode >= 0xE000 and unicode <= 0xF8FF) or unicode == 0xFFFE or unicode == 0xFFFF then -- report("assigning private unicode %U to glyph indexed %05X (%s)",private,index,"unset") unicode = private -- glyph.unicode = -1 |