diff --git a/include/freetype/ftimage.h b/include/freetype/ftimage.h index 4dd1c3d21..d375a2251 100644 --- 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; */ diff --git a/src/cache/ftcimage.c b/src/cache/ftcimage.c index 5f044e06a..a9e4f9df4 100644 --- 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 )