* src/sfnt/ttmtx.c (tt_face_get_metrics): Typo.

david-pic-changes
Wu, Chia-I (吳佳一) 19 years ago
parent 9a2b3b6d55
commit 3dc0018174
  1. 4
      ChangeLog
  2. 2
      src/sfnt/ttmtx.c

@ -1,3 +1,7 @@
2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw>
* src/sfnt/ttmtx.c (tt_face_get_metrics): Typo.
2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw>
* src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply

@ -442,7 +442,7 @@
FT_UShort k = header->number_Of_HMetrics;
if ( k == 0 || k >= (FT_UInt)face->max_profile.numGlyphs )
if ( k == 0 || gindex >= (FT_UInt)face->max_profile.numGlyphs )
{
*abearing = *aadvance = 0;
return SFNT_Err_Ok;

Loading…
Cancel
Save