From 3dc00181747d197690c69b45b821fb2b719dac69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wu=2C=20Chia-I=20=28=E5=90=B3=E4=BD=B3=E4=B8=80=29?= Date: Tue, 14 Feb 2006 13:36:28 +0000 Subject: [PATCH] * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo. --- ChangeLog | 4 ++++ src/sfnt/ttmtx.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 096928e8..fff1dfff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-14 Chia-I Wu + + * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo. + 2006-02-14 Chia-I Wu * src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply diff --git a/src/sfnt/ttmtx.c b/src/sfnt/ttmtx.c index 5d326c71..929c55dc 100644 --- a/src/sfnt/ttmtx.c +++ b/src/sfnt/ttmtx.c @@ -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;