[lltx] mkluatexfontdb & Mac OS X
khaledhosny at eglug.org
Sun May 16 14:24:55 CEST 2010
On Sun, May 16, 2010 at 07:36:28PM +0930, Will Robertson wrote:
> On 16/05/2010, at 6:37 PM, Will Robertson wrote:
> > On 16/05/2010, at 2:48 PM, Elie Roux wrote:
> >> That would be an idea... anyway, does the master version of khaledhosny/luaotfload work well for you? does it find fonts in ~/Library/fonts? I was not sure about the ~...
> > Yep, that's working well now.
> Scratch that; using "~" is no good. I've pushed a fix to that line that you can use as inspiration if you like :)
> I'm still confused about all the different ways mkluatexfontdb scans through directories and when.
> Without $OSFONTDIR, the script searches through the static font locations recursively. But if you set $OSFONTDIR to those locations, it then searches through them non-recursively. I guess the biggest confusion is why scan_texmf_tree uses osdirs to search through non-texmf locations. And in doing so, what is the purposes of OSFONTDIR?
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
I admit the code is unnecessary complex and nit very well organized,
partly because it was written and rewritten partially across a period of
time and I didn't always know what I'm doing.
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the lualatex-dev