mirror of https://github.com/freetype/freetype
Fixed typo in ftimage.h
Fixed sbit on/off flag in cache code.
This commit is contained in:
parent
50dd5858a7
commit
f50c2954d4
|
@ -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; */
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue