/[freetype]/freetype2/src/cff/cffload.c
ViewVC logotype

Diff of /freetype2/src/cff/cffload.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.68 by werner, Tue Dec 28 07:31:35 2004 UTC revision 1.69 by freetype, Sun May 1 10:11:31 2005 UTC
# Line 1687  Line 1687 
1687        FT_MEM_ZERO( charset->cids, sizeof ( FT_UShort ) * max_cid );        FT_MEM_ZERO( charset->cids, sizeof ( FT_UShort ) * max_cid );
1688    
1689        for ( i = 0; i < num_glyphs; i++ )        for ( i = 0; i < num_glyphs; i++ )
1690          charset->cids[charset->sids[i]] = i;          charset->cids[charset->sids[i]] = (FT_UShort)i;
1691      }      }
1692    
1693    Exit:    Exit:
# Line 2240  Line 2240 
2240      /* read the Charset and Encoding tables if available */      /* read the Charset and Encoding tables if available */
2241      if ( font->num_glyphs > 0 )      if ( font->num_glyphs > 0 )
2242      {      {
2243        FT_Bool  invert = dict->cid_registry != 0xFFFFU;        FT_Bool  invert = FT_BOOL( dict->cid_registry != 0xFFFFU );
2244    
2245    
2246        error = cff_charset_load( &font->charset, font->num_glyphs, stream,        error = cff_charset_load( &font->charset, font->num_glyphs, stream,

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26