freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] Mac OS X improvements checked in!


From: Leonard Rosenthol
Subject: [Freetype] Mac OS X improvements checked in!
Date: Thu, 06 Dec 2001 12:52:47 -0500

Sorry about the delay on this folks!

I just checked into CVS the fixes necessary so that FT_New_Face() on the Mac will work with .dfont files (it already worked just fine on old style resource fonts as well as the x-platform .ttf and .otf fonts).

Second, there is a new Mac-centric routine exposed in ftmac.h
  FT_EXPORT_DEF( FT_Error )
FT_GetFile_From_Mac_Name( char* fontName, FSSpec* pathSpec, FT_Long* face_index )

As the name implies, you pass it the Mac OS name for a font (eg. Times New Roman Bold) and it returns to you the FSSpec and the face_index that you then pass to FT_New_Face().


I believe this should address all the outstanding issues with FT2's Mac OS support. Unless there are enough folks needing it, I do NOT plan to back-port this to FT1 (though it would probably be easy).


Leonard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]