ref: f50c2954d4706af4762f7f40c6e933bcef507528
parent: 50dd5858a7ff8563b68c93e13212d3a55d829560
author: Werner Lemberg <[email protected]>
date: Fri Sep 22 02:52:20 EDT 2000
Fixed typo in ftimage.h Fixed sbit on/off flag in cache code.
--- a/include/freetype/ftimage.h
+++ b/include/freetype/ftimage.h
@@ -245,7 +245,7 @@
/* tags :: A pointer to an array of `n_points' chars, giving */
/* giving each outline point's type. If bit 0 is */
/* unset, the point is 'off' the curve, i.e. a Bezier */
- /* control point, while it is `on' when unset. */
+ /* control point, while it is `on' when set. */
/* */
/* Bit 1 is meaningful for `off' points only. If set, */
/* it indicates a third-order Bezier arc control point; */
--- a/src/cache/ftcimage.c
+++ b/src/cache/ftcimage.c
@@ -61,7 +61,7 @@
load_flags |= FT_LOAD_MONOCHROME;
/* disable embedded bitmaps loading if necessary */
- if ( load_flags & ftc_image_flag_no_sbits )
+ if ( image_type & ftc_image_flag_no_sbits )
load_flags |= FT_LOAD_NO_BITMAP;
}
else if ( FTC_IMAGE_FORMAT( image_type ) == ftc_image_format_outline )