On Sat, 2005-01-08 at 03:28, Martin Fuhrer wrote:
> >
> > Can Win32, Mac OS X and BeOS folks let me know what paths would be good
> > to add for your respective OSes?
> >
> 
> The Mac OS X font directory are:
> 
> /System/Library/Fonts   (standard Mac OS X fonts)
> /Library/Fonts   (administrator-installed fonts for all users)
> $HOME/Library/Fonts (user installed fonts)

I have this now:

#elif defined(__APPLE__)
    loadfonts("/System/Library/Fonts", 0);
    loadfonts("/Library/Fonts", 0);
    loadfonts("/usr/share/fonts", 0);
    loadfonts("/usr/X11R6/lib/X11/fonts", 0);

> As Albert pointed out, some fonts lack extensions, and many others end 
> in .dfont and .otf, so I'm not sure how well handled they would be by 
> the loadfonts() function.

I'm using *.otf fonts right now. As for the others, I saw a FreeType
patch that would support them via normal filenames.

Without that patch, there are problems. FreeType has a special
interface for loading via Mac resource forks, but libSDL_ttf
doesn't offer a wrapper for it.

Well, I suggest you simply try the latest Tux Paint (as of a few
minutes ago) with a recent FreeType and tell us how it goes.


_______________________________________________
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to