forked from minhngoc25a/freetype2
* src/sfnt/ttmtx.c (tt_face_get_metrics): Typo.
This commit is contained in:
parent
9a2b3b6d55
commit
3dc0018174
|
@ -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>
|
2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||||
|
|
||||||
* src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply
|
* src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply
|
||||||
|
|
|
@ -442,7 +442,7 @@
|
||||||
FT_UShort k = header->number_Of_HMetrics;
|
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;
|
*abearing = *aadvance = 0;
|
||||||
return SFNT_Err_Ok;
|
return SFNT_Err_Ok;
|
||||||
|
|
Loading…
Reference in New Issue