* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.

This commit is contained in:
Werner Lemberg 2013-11-23 23:59:25 +01:00
parent 8af2a1cd95
commit 9326cafa9b
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
2013-11-23 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.
2013-11-21 Werner Lemberg <wl@gnu.org>
[truetype] Typo.
[sfnt] Typo.
Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.

View File

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