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

This commit is contained in:
Wu, Chia-I (吳佳一) 2006-02-14 13:36:28 +00:00
parent 9a2b3b6d55
commit 3dc0018174
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;