diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatextra/luatextra.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatextra/luatextra.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatextra/luatextra.lua b/Master/texmf-dist/tex/luatex/luatextra/luatextra.lua index 17f1345624d..1e8a51ca278 100644 --- a/Master/texmf-dist/tex/luatex/luatextra/luatextra.lua +++ b/Master/texmf-dist/tex/luatex/luatextra/luatextra.lua @@ -107,9 +107,9 @@ function luatextra.define_font(name, size) return luatextra.load_default_font(size) end if not fontinfos.filename then - fontinfos.filename = fpath.basename(path) + fontinfos.filename = file.basename(path) end - local ext = fpath.suffix(path) + local ext = file.suffix(path) local f if ext == 'tfm' or ext == 'ofm' then f = font.read_tfm(name, size) |