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_scalable ( char fond_data  )  [static]

Definition at line 357 of file ftmac.c.

Referenced by count_faces().

00358   {
00359     AsscEntry*  assoc;
00360     FamRec*     fond;
00361     short       i, face, face_all;
00362 
00363 
00364     fond     = (FamRec*)fond_data;
00365     face_all = EndianS16_BtoN( *( (short *)( fond_data +
00366                                              sizeof ( FamRec ) ) ) ) + 1;
00367     assoc    = (AsscEntry*)( fond_data + sizeof ( FamRec ) + 2 );
00368     face     = 0;
00369 
00370     for ( i = 0; i < face_all; i++ )
00371     {
00372       if ( 0 == EndianS16_BtoN( assoc[i].fontSize ) )
00373         face++;
00374     }
00375     return face;
00376   }


Generated on Fri Feb 10 06:08:22 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.