diff options
Diffstat (limited to 'tex/context/base/font-otf.lua')
-rw-r--r-- | tex/context/base/font-otf.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/font-otf.lua b/tex/context/base/font-otf.lua index c1f2f14fc..401de4bda 100644 --- a/tex/context/base/font-otf.lua +++ b/tex/context/base/font-otf.lua @@ -1934,8 +1934,9 @@ local function copytotfm(data,cache_id) local units = metadata.units_per_em or 1000 -- if units == 0 then -- catch bugs in fonts - units = 1000 + units = 1000 -- maybe 2000 when ttf metadata.units_per_em = 1000 + report_otf("changing %a units to %a",0,units) end -- parameters.slant = 0 |