/[freetype]/freetype2/include/freetype/internal/tttypes.h
ViewVC logotype

Diff of /freetype2/include/freetype/internal/tttypes.h

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

revision 1.51 by freetype, Tue Feb 22 16:53:05 2005 UTC revision 1.52 by freetype, Sat Feb 26 00:12:04 2005 UTC
# Line 310  FT_BEGIN_HEADER Line 310  FT_BEGIN_HEADER
310    
311    } TT_GaspRec;    } TT_GaspRec;
312    
313    #ifndef FT_OPTIMIZE_MEMORY
314    /*************************************************************************/    /*************************************************************************/
315    /*                                                                       */    /*                                                                       */
316    /* <Struct>                                                              */    /* <Struct>                                                              */
# Line 360  FT_BEGIN_HEADER Line 360  FT_BEGIN_HEADER
360    
361    } TT_HdmxRec, *TT_Hdmx;    } TT_HdmxRec, *TT_Hdmx;
362    
   
   
363    /*************************************************************************/    /*************************************************************************/
364    /*                                                                       */    /*                                                                       */
365    /* <Struct>                                                              */    /* <Struct>                                                              */
# Line 387  FT_BEGIN_HEADER Line 385  FT_BEGIN_HEADER
385      FT_FWord   value;  /* kerning value                */      FT_FWord   value;  /* kerning value                */
386    
387    } TT_Kern0_PairRec, *TT_Kern0_Pair;    } TT_Kern0_PairRec, *TT_Kern0_Pair;
388    #endif /* !OPTIMIZE_MEMORY */
389    
390    
391    /*************************************************************************/    /*************************************************************************/
# Line 1199  FT_BEGIN_HEADER Line 1198  FT_BEGIN_HEADER
1198    
1199      TT_Header             header;       /* TrueType header table          */      TT_Header             header;       /* TrueType header table          */
1200      TT_HoriHeader         horizontal;   /* TrueType horizontal header     */      TT_HoriHeader         horizontal;   /* TrueType horizontal header     */
1201    #ifdef FT_OPTIMIZE_MEMORY
1202        FT_Byte*              horz_metrics;
1203        FT_ULong              horz_metrics_size;
1204    #endif
1205    
1206      TT_MaxProfile         max_profile;      TT_MaxProfile         max_profile;
1207      FT_ULong              max_components;      FT_ULong              max_components;
1208    
1209      FT_Bool               vertical_info;      FT_Bool               vertical_info;
1210      TT_VertHeader         vertical;     /* TT Vertical header, if present */      TT_VertHeader         vertical;     /* TT Vertical header, if present */
1211    #ifdef FT_OPTIMIZE_MEMORY
1212        FT_Byte*              vert_metrics;
1213        FT_ULong              vert_metrics_size;
1214    #endif
1215    
1216      FT_UShort             num_names;    /* number of name records  */      FT_UShort             num_names;    /* number of name records  */
1217      TT_NameTableRec       name_table;   /* name table              */      TT_NameTableRec       name_table;   /* name table              */
# Line 1239  FT_BEGIN_HEADER Line 1246  FT_BEGIN_HEADER
1246      /***********************************************************************/      /***********************************************************************/
1247    
1248      /* horizontal device metrics */      /* horizontal device metrics */
1249    #ifdef FT_OPTIMIZE_MEMORY
1250        FT_Byte*              hdmx_table;
1251        FT_ULong              hdmx_table_size;
1252        FT_UInt               hdmx_record_count;
1253        FT_ULong              hdmx_record_size;
1254        FT_Byte*              hdmx_record_sizes;
1255    #else
1256      TT_HdmxRec            hdmx;      TT_HdmxRec            hdmx;
1257    #endif
1258    
1259      /* grid-fitting and scaling table */      /* grid-fitting and scaling table */
1260      TT_GaspRec            gasp;                 /* the `gasp' table */      TT_GaspRec            gasp;                 /* the `gasp' table */
# Line 1285  FT_BEGIN_HEADER Line 1300  FT_BEGIN_HEADER
1300      FT_ULong              cvt_size;      FT_ULong              cvt_size;
1301      FT_Short*             cvt;      FT_Short*             cvt;
1302    
1303    #ifdef FT_OPTIMIZE_MEMORY
1304        FT_Byte*              kern_table;
1305        FT_ULong              kern_table_size;
1306        FT_UInt               num_kern_tables;
1307        FT_UInt32             kern_avail_bits;
1308        FT_UInt32             kern_order_bits;
1309    #else
1310      /* the format 0 kerning table, if any */      /* the format 0 kerning table, if any */
1311      FT_Int                num_kern_pairs;      FT_Int                num_kern_pairs;
1312      FT_Int                kern_table_index;      FT_Int                kern_table_index;
1313      TT_Kern0_Pair         kern_pairs;      TT_Kern0_Pair         kern_pairs;
1314    #endif
1315    
1316      /* A pointer to the bytecode interpreter to use.  This is also */      /* A pointer to the bytecode interpreter to use.  This is also */
1317      /* used to hook the debugger for the `ttdebug' utility.        */      /* used to hook the debugger for the `ttdebug' utility.        */

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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