Fix file name
This commit is contained in:
parent
1be299f4f1
commit
88effdc8dd
@ -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]
|
||||
|
@ -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 = {}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user