/[freetype]/freetype2/src/pfr/pfrload.c
ViewVC logotype

Diff of /freetype2/src/pfr/pfrload.c

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

revision 1.18 by werner, Sun Aug 8 16:52:29 2004 UTC revision 1.19 by freetype, Thu Mar 3 14:00:23 2005 UTC
# Line 609  Line 609 
609    }    }
610    
611    
612    #ifndef FT_OPTIMIZE_MEMORY
613   /*   /*
614    *  The kerning data embedded in a PFR font are (charcode,charcode)    *  The kerning data embedded in a PFR font are (charcode,charcode)
615    *  pairs; we need to translate them to (gindex,gindex) and sort    *  pairs; we need to translate them to (gindex,gindex) and sort
# Line 747  Line 748 
748    
749      return error;      return error;
750    }    }
751    #endif /* !FT_OPTIMIZE_MEMORY */
752    
753    static const PFR_ExtraItemRec  pfr_phy_font_extra_items[] =    static const PFR_ExtraItemRec  pfr_phy_font_extra_items[] =
754    {    {
# Line 826  Line 827 
827      FT_FREE( phy_font->blue_values );      FT_FREE( phy_font->blue_values );
828      phy_font->num_blue_values = 0;      phy_font->num_blue_values = 0;
829    
830    #ifndef FT_OPTIMIZE_MEMORY
831      FT_FREE( phy_font->kern_pairs );      FT_FREE( phy_font->kern_pairs );
832    #endif
833    
834      {      {
835        PFR_KernItem  item, next;        PFR_KernItem  item, next;
836    
# Line 1065  Line 1069 
1069      phy_font->bct_offset = FT_STREAM_POS();      phy_font->bct_offset = FT_STREAM_POS();
1070      phy_font->cursor     = NULL;      phy_font->cursor     = NULL;
1071    
1072    #ifndef FT_OPTIMIZE_MEMORY
1073      /* now sort kerning pairs */      /* now sort kerning pairs */
1074      error = pfr_sort_kerning_pairs( stream, phy_font );      error = pfr_sort_kerning_pairs( stream, phy_font );
1075    #endif
1076    
1077    Exit:    Exit:
1078      return error;      return error;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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