freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Freetype on Mac uses deprecated functions


From: Sean McBride
Subject: Re: [ft-devel] Freetype on Mac uses deprecated functions
Date: Thu, 25 Aug 2005 12:25:36 -0400

On 2005-08-25 09:07, George Williams said:

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

Or you could deprecate FT_New_Face_From_FSSpec() and add a new analogous
API FT_New_Face_From_FSRef().

--
____________________________________________________________
Sean McBride, B. Eng                 address@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada






reply via email to

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