From 57dbee16f3a8e09e688f792c6e36a53de798e6cb Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 17 Jul 2018 18:25:12 +0200 Subject: 2018-07-17 17:32:00 --- scripts/context/lua/mtx-pdf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/context/lua/mtx-pdf.lua b/scripts/context/lua/mtx-pdf.lua index a6364cfc9..ad115637b 100644 --- a/scripts/context/lua/mtx-pdf.lua +++ b/scripts/context/lua/mtx-pdf.lua @@ -179,7 +179,7 @@ local function getunicodes(font) end for s in gmatch(cid,"beginbfchar%s*(.-)%s*endbfchar") do for old, new in gmatch(s,"<([^>]+)>%s+<([^>]+)>") do - indices[old] = true + indices[tonumber(old,16)] = true for n in gmatch(new,"....") do local c = tonumber(n,16) counts[c] = counts[c] + 1 -- cgit v1.2.3