On Sun, May 16, 2010 at 05:53:46PM +0300, Elie Roux wrote: > Khaled Hosny a écrit : > >For TEXMF tree font directories, kpse returns the individual > >subdirectories, AFAICT, so I felt there is no need to scan them > >recursively, while OSFONTDIR is returned as is i.e. if I set > >OSFONTDIR=~/.fonts, kpse will just return this so I had to scan it > >recursively. > > I think this is wrong for OSFONTDIR, in my tests it was scanned also > at sublevel, for example if I set OSFONTDIR to /usr/share/fonts it > will find the fonts in it, even if they are under subdirectories > (but not subsubdirectories). But maybe I did something wrong in my > tests... $ export OSFONTDIR="/usr/share/fonts" $ kpsewhich -expand-path='$OSFONTDIR' /usr/share/fonts
No subdirs returned. Anyway, I just made the code scan all dirs recursively, it doesn't harm to do so. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
