Fix `lcd_weights' array size.
* include/freetype/internal/ftobjs.h (FT_LibraryRec): Do it. Reported by Nikolaus.
This commit is contained in:
parent
e1ee5476a4
commit
dd26e3d07c
@ -1,3 +1,11 @@
|
||||
2016-11-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix `lcd_weights' array size.
|
||||
|
||||
* include/freetype/internal/ftobjs.h (FT_LibraryRec): Do it.
|
||||
|
||||
Reported by Nikolaus.
|
||||
|
||||
2016-11-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Fix tracing.
|
||||
|
@ -875,7 +875,7 @@ FT_BEGIN_HEADER
|
||||
#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
FT_LcdFilter lcd_filter;
|
||||
FT_Int lcd_extra; /* number of extra pixels */
|
||||
FT_Byte lcd_weights[7]; /* filter weights, if any */
|
||||
FT_Byte lcd_weights[5]; /* filter weights, if any */
|
||||
FT_Bitmap_LcdFilterFunc lcd_filter_func; /* filtering callback */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user