Khaled Hosny a écrit :
$ export OSFONTDIR="/usr/share/fonts"
$ kpsewhich -expand-path='$OSFONTDIR'
/usr/share/fonts

Agreed. But, as I said, the black magic is not in OSFONTDIR, it's in the way it's included in OPENTYPEFONTS, try kpsewhich --expand-patch='$OPENTYPEFONTS' and see the magic. Saying that, it just occured to me that the code I wrote about that is on the good way but is still buggy...

No subdirs returned. Anyway, I just made the code scan all dirs
recursively, it doesn't harm to do so.

Yes it does, it scans fonts two times (or even more if the font is in a subsubdirectory).

Thank you,
--
Elie

Reply via email to