[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Freetype on Mac uses deprecated functions
From: |
George Williams |
Subject: |
Re: [ft-devel] Freetype on Mac uses deprecated functions |
Date: |
25 Aug 2005 09:17:44 -0700 |
On Wed, 2005-08-24 at 09:41, Sean McBride wrote:
> I am writing here to report a 'bug' of sorts. Basically, it seems the
> freetype implementation on the Mac is somewhat antiquated. I receive the
> following warnings about the use of deprecated functions:
> - FSSpecs should be replaced with FSRefs
I started looking at this. Unfortunately the FSSpec type has wormed its
way into the API for the mac:
FT_EXPORT_DEF( FT_Error )
FT_New_Face_From_FSSpec( FT_Library library,
const FSSpec *spec,
FT_Long face_index,
FT_Face *aface )
FT_EXPORT_DEF( FT_Error )
FT_GetFile_From_Mac_Name( const char* fontName,
FSSpec* pathSpec,
FT_Long* face_index )
David, how do you want to handle this? It looks as though the API will
have to change to avoid this depreciated type.