Hi David, After defining FT_OPTIMIZE_MEMORY, trutype sbits (bit-aligned) stop to work. I found the glyph size checking in `tt_sbit_decoder_load_bit_aligned' is not done right. Fixing that makes glyphs load, but the loaded bitmaps are still not right.
-- Regards, olv
=== src/sfnt/ttsbit0.c ================================================================== --- src/sfnt/ttsbit0.c (revision 3141) +++ src/sfnt/ttsbit0.c (local) @@ -582,7 +582,7 @@ goto Exit; } - if ( p + ( ( width + 7 ) >> 3 ) * height > limit ) + if ( p + ( ( ( width * height ) + 7 ) >> 3 ) > limit ) { error = SFNT_Err_Invalid_File_Format; goto Exit;
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel