summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-syn.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2016-11-22 20:44:35 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-11-22 20:44:35 +0100
commitf4ff686750ca9405662c7615e9c4b04685b5be5c (patch)
treea9999aa6a9bdfdf5fa707b20e95e6ca6a405a4a1 /tex/context/base/mkiv/font-syn.lua
parentad79afc01bebd1a16f30f8c08b873ff52224bd19 (diff)
downloadcontext-f4ff686750ca9405662c7615e9c4b04685b5be5c.tar.gz
2016-11-22 20:10:00
Diffstat (limited to 'tex/context/base/mkiv/font-syn.lua')
-rw-r--r--tex/context/base/mkiv/font-syn.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/tex/context/base/mkiv/font-syn.lua b/tex/context/base/mkiv/font-syn.lua
index 372a16ca1..dce668842 100644
--- a/tex/context/base/mkiv/font-syn.lua
+++ b/tex/context/base/mkiv/font-syn.lua
@@ -620,7 +620,7 @@ local function check_name(data,result,filename,modification,suffix,subfont)
local pfmwidth = result.pfmwidth or 0
local pfmweight = result.pfmweight or 0
--
- specifications[#specifications + 1] = {
+ specifications[#specifications+1] = {
filename = filename, -- unresolved
cleanfilename = cleanfilename,
-- subfontindex = subfont,
@@ -1078,16 +1078,10 @@ local function analyzefiles(olddata)
if result then
if #result > 0 then
for r=1,#result do
- local ok = check_name(data,result[r],storedname,modification,suffix,r) -- subfonts start at zero
- -- if not ok then
- -- nofskipped = nofskipped + 1
- -- end
+ check_name(data,result[r],storedname,modification,suffix,r) -- subfonts start at zero
end
else
- local ok = check_name(data,result,storedname,modification,suffix)
- -- if not ok then
- -- nofskipped = nofskipped + 1
- -- end
+ check_name(data,result,storedname,modification,suffix)
end
if trace_warnings and message and message ~= "" then
report_names("warning when identifying %s font %a, %s",suffix,completename,message)