Allow to use FT_Library_SetLcdFilter in bundled FreeType.
For a default Qt build this change is a NOP, ftlcdfil.c is ifdefed by FT_CONFIG_OPTION_SUBPIXEL_RENDERING, which we don't define. But for users who changed ftoption.h, or are using 3rdparty/freetype/devel/ftoption.h instead of 3rdparty/freetype/include/freetype/config/ftoption.h they can now enable Subpixel rendering without getting a build error. Change-Id: I547e8a20514fcb97e4e56cb0100e9c2ed525f483 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>bb10
parent
63f5b1a7fc
commit
ca526496c3
|
|
@ -17,6 +17,7 @@ contains(QT_CONFIG, freetype) {
|
|||
$$QT_FREETYPE_DIR/src/base/ftbbox.c \
|
||||
$$QT_FREETYPE_DIR/src/base/ftdebug.c \
|
||||
$$QT_FREETYPE_DIR/src/base/ftglyph.c \
|
||||
$$QT_FREETYPE_DIR/src/base/ftlcdfil.c \
|
||||
$$QT_FREETYPE_DIR/src/base/ftinit.c \
|
||||
$$QT_FREETYPE_DIR/src/base/ftmm.c \
|
||||
$$QT_FREETYPE_DIR/src/base/fttype1.c \
|
||||
|
|
|
|||
Loading…
Reference in New Issue