diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-08 17:40:30 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-08 17:40:30 +0200 |
commit | 4e4dcdd6d58631f6b260dbc16007152ac14d9677 (patch) | |
tree | d587db8881ba10f1b77b7c705be4d6f2e96f232a /tex/context/base/mkiv/font-ctx.lua | |
parent | 641b8d0802ead673334ad7048c701238e6c8c81e (diff) | |
download | context-4e4dcdd6d58631f6b260dbc16007152ac14d9677.tar.gz |
2016-06-08 16:37:00
Diffstat (limited to 'tex/context/base/mkiv/font-ctx.lua')
-rw-r--r-- | tex/context/base/mkiv/font-ctx.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-ctx.lua b/tex/context/base/mkiv/font-ctx.lua index 32270bf96..4a4808316 100644 --- a/tex/context/base/mkiv/font-ctx.lua +++ b/tex/context/base/mkiv/font-ctx.lua @@ -2510,9 +2510,9 @@ function helpers.getcoloredglyphs(tfmdata) local characters = tfmdata.characters local descriptions = tfmdata.descriptions local collected = { } - for unicode in next, characters do + for unicode, character in next, characters do local description = descriptions[unicode] - if description and (description.colors or description.svg) then + if description and (description.colors or character.svg) then collected[#collected+1] = unicode end end |