> 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 > Freetype-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/freetype-devel > _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel