On Sun, Sep 07, 2003 at 02:51:39PM +0100, Mike Hearn wrote: > Hi to anybody who knows about fonts, > > It'd be nice to use fontconfig in future to locate font installation > paths. There is a simple API: > > FcStrList FcConfigGetFontDirs (FcConfig *config); > > which should let us use a small part of it, even if we don't use all of > it. It means we don't need to make the user manually configure font > paths. > > Does anybody know how hard this would be?
I've done this for CrossOver 2.1 and hopefully we'll merge it into winehq soon. Rather than a directory by directory approach, I'm walking the entire font list and using any TrueType fonts that I come across. Huw.