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>bb10
parent
2eaf0cf8fd
commit
7ff3a7d3a3
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue