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

static short count_faces ( Handle  fond,
const UInt8 *  pathname 
) [static]

Definition at line 539 of file ftmac.c.

Referenced by FT_New_Face_From_Suitcase().

00541   {
00542     ResID     sfnt_id;
00543     short     have_sfnt, have_lwfn;
00544     Str255    lwfn_file_name;
00545     UInt8     buff[PATH_MAX];
00546     FT_Error  err;
00547     short     num_faces;
00548 
00549 
00550     have_sfnt = have_lwfn = 0;
00551 
00552     parse_fond( *fond, &have_sfnt, &sfnt_id, lwfn_file_name, 0 );
00553 
00554     if ( lwfn_file_name[0] )
00555     {
00556       err = lookup_lwfn_by_fond( pathname, lwfn_file_name,
00557                                  buff, sizeof ( buff )  );
00558       if ( FT_Err_Ok == err )
00559         have_lwfn = 1;
00560     }
00561 
00562     if ( have_lwfn && ( !have_sfnt || PREFER_LWFN ) )
00563       num_faces = 1;
00564     else
00565       num_faces = count_faces_scalable( *fond );
00566 
00567     return num_faces;
00568   }


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.