diff --git a/ChangeLog b/ChangeLog index bc1283172..c7fd0a2c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-11-07 David Turner + * src/cache/ftcsbit.c (ftc_sbit_node_load): fixed a small bug that caused + problems with embedded bitmaps + * src/otlayout/otlayout.h, src/otlyaout/otlconf.h, src/otlayout/otlgsub.c, src/otlayout/otlgsub.h, src/otlayout/otlparse.c, src/otlayout/otlparse.h, src/otlayout/otlutils.h: diff --git a/src/cache/ftcsbits.c b/src/cache/ftcsbits.c index 33e44ea50..663467616 100644 --- a/src/cache/ftcsbits.c +++ b/src/cache/ftcsbits.c @@ -189,6 +189,8 @@ sbit->format = (FT_Byte)bitmap->pixel_mode; sbit->max_grays = (FT_Byte)(bitmap->num_grays - 1); +#if 0 /* this doesn't work well with embedded bitmaps !! */ + /* grab the bitmap when possible - this is a hack! */ if ( slot->flags & FT_GLYPH_OWN_BITMAP ) { @@ -196,6 +198,7 @@ sbit->buffer = bitmap->buffer; } else +#endif { /* copy the bitmap into a new buffer -- ignore error */ error = ftc_sbit_copy_bitmap( sbit, bitmap, memory );