Fix file name

This commit is contained in:
Marcel Krüger 2020-06-16 21:17:43 +02:00
parent 1be299f4f1
commit 88effdc8dd
4 changed files with 3 additions and 3 deletions

View File

@ -457,7 +457,7 @@ function myfunc(buf, i0, fontid, usedcids, encoding, trust_widths)
if encoding == true then -- Use the built-in encoding
CharStrings = parse_encoding(buf, i0, top.Encoding, CharStrings)
elseif encoding then
encoding = require'parseEnc'(encoding)
encoding = require'luametalatex-font-enc'(encoding)
local encoded = {}
for i, n in pairs(encoding) do
encoded[i] = CharStrings[n]

View File

@ -42,7 +42,7 @@ return function(filename, reencode)
reencode = kpse.find_file("8a.enc", "enc files")
end
if reencode then
parsed_t1.Encoding = require'parseEnc'(reencode)
parsed_t1.Encoding = require'luametalatex-font-enc'(reencode)
end
-- parsed_t1.Encoding[0] = ".notdef"
local glyphs = {}

View File

@ -83,7 +83,7 @@ return function(filename, fontid, reencode)
return function(fontdir, usedcids)
if reencode and string.unpack(">I4", buf, tables.post[1]) == 0x00020000 then
usedcids = readpostnames(buf, tables.post[1] + 32, usedcids, require'parseEnc'(reencode))
usedcids = readpostnames(buf, tables.post[1] + 32, usedcids, require'luametalatex-font-enc'(reencode))
else
usedcids = table.move(usedcids, 1, #usedcids, 1, {})
end