Apply Qt-specific changes to the bundled FreeType

Enable TT_CONFIG_OPTION_SUBPIXEL_HINTING instead of deprecated
TT_CONFIG_OPTION_UNPATENTED_HINTING to improve hinted rendering.

Change-Id: I63efae235a2abb1a9f4bbba5fec900670e1ffe9a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Konstantin Ritt 2015-03-15 02:00:55 +04:00
parent 2eaf0cf8fd
commit 7ff3a7d3a3
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,8 @@ contains(QT_CONFIG, system-zlib) {
include($$PWD/zlib_dependency.pri)
}
DEFINES += TT_CONFIG_OPTION_SUBPIXEL_HINTING
# disable warnings about "unsafe" methods in C code
msvc:QMAKE_CFLAGS_WARN_ON += -wd"4996"

View File

@ -182,7 +182,7 @@ typedef unsigned long ulg;
#endif
/* Diagnostic functions */
#ifdef DEBUG
#if defined(DEBUG) && !defined(_WIN32_WCE)
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));