Adjust to newer LuaMetaTeX versions

This commit is contained in:
Marcel Krüger 2020-01-02 04:14:39 +01:00
parent 29c97800a3
commit b5c91c4312
12 changed files with 247 additions and 112 deletions

View file

@ -209,7 +209,7 @@ local function buildfont0(pdf, fontdir, usedcids)
local enc
if fontdir.encodingbytes == 1 then
enc = cidmap1byte(pdf)
elseif true then -- FIXME: This should only be used for encodingbyzes == -3 (variable, max 3)
elseif false then -- FIXME: This should only be used for encodingbyzes == -3 (variable, max 3)
fontdir.encodingbytes = -3 -- FIXME
enc = cidmap3byte(pdf)
else