summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-map.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-05 11:09:19 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-05 11:09:19 +0200
commit3f59c56887a9a6c4bda68ab8d99e67d2afc902f9 (patch)
treea9198041a82c94d3764733271e203edb8beb79a3 /tex/context/base/mkiv/font-map.lua
parentc209ed36b6aaaa992df8976789c8ba8112f8e5c5 (diff)
downloadcontext-3f59c56887a9a6c4bda68ab8d99e67d2afc902f9.tar.gz
2016-09-05 10:33:00
Diffstat (limited to 'tex/context/base/mkiv/font-map.lua')
-rw-r--r--tex/context/base/mkiv/font-map.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-map.lua b/tex/context/base/mkiv/font-map.lua
index 7f3b0f960..7ebb7349a 100644
--- a/tex/context/base/mkiv/font-map.lua
+++ b/tex/context/base/mkiv/font-map.lua
@@ -12,6 +12,7 @@ local match, format, find, concat, gsub, lower = string.match, string.format, st
local P, R, S, C, Ct, Cc, lpegmatch = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Ct, lpeg.Cc, lpeg.match
local floor = math.floor
local formatters = string.formatters
+local sortedhash = table.sortedhash
local trace_loading = false trackers.register("fonts.loading", function(v) trace_loading = v end)
local trace_mapping = false trackers.register("fonts.mapping", function(v) trace_mapping = v end)
@@ -478,7 +479,7 @@ function mappings.addtounicode(data,filename,checklookups)
report_fonts("%n ligature tounicode mappings deduced from gsub ligature features",unicoded)
end
if trace_mapping then
- for unic, glyph in table.sortedhash(descriptions) do
+ for unic, glyph in sortedhash(descriptions) do
local name = glyph.name or "-"
local index = glyph.index or 0
local unicode = glyph.unicode