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 */ |
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 ); |