[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: |
Turner, David |
Subject: |
RE: [ft-devel] Freetype on Mac uses deprecated functions |
Date: |
Thu, 25 Aug 2005 19:20:15 +0200 |
> 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.
>
>
- do not change the signature of public functions, even if
they're brain-dead
- change their implementation to return FT_Err_Unimplemented
(unless you're compiling on a legacy system)
- add new public function to use the newest one, use #ifdef
to avoid defining them on legacy system
am I missing something ?
- David
>
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype-devel
>