Skip to content
Prev 4488 / 15075 Next

FreeType on osx

On Sun, 16 Mar 2008, Duncan Murdoch wrote:

            
I've seen that, and in all cases it was to do with which font freetype was 
told to use.

You could try to make sure that the Apple TrueType fonts (what Simon is 
calling 'system fonts') are used -- it seems that almost everything else 
gets used incorrectly on MacOS.  I'm not sure FTGL has support for those 
-- its demo hardcodes paths to .ttf fonts, for MacOS in a user area.

Finding suitable fonts is probably also a concern on Linux and other 
Unix-alikes.  There are some free ttf fonts available that you could ship: 
they are not as nice as the Apple ones, but they would provide a good 
platform-independent default.  (E.g. Liberation, mentioned in 
R-admin.texi.)  If you want a symbol font, you are going to be out of luck 
-- the only symbol fonts I know of are the Apple and Windows ones, and 
freetype does not use the Windows one correctly (or at least, no 
freetype-based program I have tried does, and it seems to do with the 
encoding).