freetype
[Top][All Lists]
Advanced

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

RE: [Freetype] Mac OS X improvements checked in!


From: Changyuan Hu
Subject: RE: [Freetype] Mac OS X improvements checked in!
Date: Thu, 6 Dec 2001 15:14:20 -0500

> I just checked into CVS the fixes necessary so that FT_New_Face() on the 
> Mac will work with .dfont files 

Congratulations!

> 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().

Have you also exported FT_New_Face()? Have you also made this function take 
FSSpec as input? I had a brief look at ftmac.c and ftmac.h in cvs, it seems 
FT_New_Face() is not changed. It still requires file pathname, not Mac native 
FSSpec.

Changyuan




reply via email to

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