[lltx] mkluatexfontdb & Mac OS X

Elie Roux elie.roux at telecom-bretagne.eu
Sun May 16 17:48:41 CEST 2010


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


More information about the lualatex-dev mailing list