Merge complete

This commit is contained in:
2018-09-10 20:31:01 -03:00
parent 4a50fbe7bb
commit c7464eea4d
13 changed files with 27 additions and 486 deletions

18
listluatexfonts.texlua Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env texlua
kpse.set_program_name("listluatexfonts")
cachefile = kpse.expand_var("$TEXMFVAR") .. "/luatex-cache/generic/names/luaotfload-names.luc"
fontlist = dofile(cachefile)
assert(fontlist,"Could not load font name database")
local tmp = {}
for _,font in ipairs(fontlist.mappings) do
tmp[#tmp + 1] = font.fontname
end
table.sort(tmp)
for _,fontname in ipairs(tmp) do
print(fontname)
end