/[freetype]/freetype2/src/truetype/ttgload.c
ViewVC logotype

Diff of /freetype2/src/truetype/ttgload.c

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

revision 1.137 by wl, Tue Mar 8 20:24:56 2005 UTC revision 1.138 by wl, Wed Apr 6 14:48:55 2005 UTC
# Line 75  Line 75 
75    /*************************************************************************/    /*************************************************************************/
76    /*                                                                       */    /*                                                                       */
77    /* <Function>                                                            */    /* <Function>                                                            */
78    /*    TT_Get_Metrics                                                     */    /*    tt_face_get_metrics                                                */
79    /*                                                                       */    /*                                                                       */
80    /* <Description>                                                         */    /* <Description>                                                         */
81    /*    Returns the horizontal or vertical metrics in font units for a     */    /*    Returns the horizontal or vertical metrics in font units for a     */
# Line 132  Line 132 
132        if ( idx < (FT_UInt)k )        if ( idx < (FT_UInt)k )
133        {        {
134          p += 4 * idx;          p += 4 * idx;
135          if ( p + 4 >= limit )          if ( p + 4 > limit )
136            goto NoData;            goto NoData;
137                        
138          *aadvance = FT_NEXT_USHORT( p );          *aadvance = FT_NEXT_USHORT( p );

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

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