Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

FT_GetFile_From_Mac_ATS_Name ( const char fontName,
FSSpec *  pathSpec,
FT_Long face_index 
)

Definition at line 242 of file ftmac.c.

00245   {
00246 #if ( __LP64__ ) || ( defined( MAC_OS_X_VERSION_10_5 ) && \
00247       ( MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) )
00248     FT_UNUSED( fontName );
00249     FT_UNUSED( pathSpec );
00250     FT_UNUSED( face_index );
00251 
00252     return FT_Err_Unimplemented_Feature;
00253 #else
00254     FSRef     ref;
00255     FT_Error  err;
00256 
00257 
00258     err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index );
00259     if ( FT_Err_Ok != err )
00260       return err;
00261 
00262     if ( noErr != FSGetCatalogInfo( &ref, kFSCatInfoNone, NULL, NULL,
00263                                     pathSpec, NULL ) )
00264       return FT_Err_Unknown_File_Format;
00265 
00266     return FT_Err_Ok;
00267 #endif
00268   }


Generated on Thu Feb 9 06:09:57 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.