ref: 9326cafa9b22aea648e389a80ada1e4f4bac2840
parent: 8af2a1cd9505d918e0ae83b78ee1556a421f5e37
author: Werner Lemberg <[email protected]>
date: Sat Nov 23 18:59:25 EST 2013
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2013-11-23 Werner Lemberg <[email protected]>
+
+ * src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.
+
2013-11-21 Werner Lemberg <[email protected]>
- [truetype] Typo.
+ [sfnt] Typo.
Problem reported by Hin-Tak Leung <[email protected]>.
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -976,8 +976,8 @@
/* an excessive number of bytes in the image: If it is equal to */
/* the value for a byte-aligned glyph, use the other loading */
/* routine. */
- FT_UInt width = decoder->metrics->width;
- FT_UInt height= decoder->metrics->width;
+ FT_UInt width = decoder->metrics->width;
+ FT_UInt height = decoder->metrics->height;
if ( height * ( ( width + 7 ) >> 3 ) == (FT_UInt)( p_limit - p ) )