summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luatextra/luatextra.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatextra/luatextra.dtx')
-rw-r--r--Master/texmf-dist/source/luatex/luatextra/luatextra.dtx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/luatex/luatextra/luatextra.dtx b/Master/texmf-dist/source/luatex/luatextra/luatextra.dtx
index 47ea3950b71..51aba955401 100644
--- a/Master/texmf-dist/source/luatex/luatextra/luatextra.dtx
+++ b/Master/texmf-dist/source/luatex/luatextra/luatextra.dtx
@@ -349,9 +349,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)