[luatex] "any font" in kpsewhich?
patrick at gundla.ch
Sat Apr 3 22:54:25 CEST 2010
when I use kpsewhich for an opentype font, I get "correct" output:
$ kpsewhich texgyreheros-bold.otf
Now doing this with luatex gives me no output:
texio.write_nl(kpse.find_file("texgyreheros-bold.otf") or "not found!")
-> not found
Which is documented in the manual. I wonder now how I could state "any font file" in kpse.find_file, since I don't know what kind of font the user asks for (could be type1 or opentype font in my case).
Any hint for me?
More information about the luatex