From d495d86110c8579253393eadfd83548c49a5cf2f Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Thu, 10 Nov 2011 19:04:14 +0100 Subject: Fix symbol fonts support with FT engine It appears that the symbol_map we obtained with FreeType doesn't work for common symbol fonts like Wingdings, in previous X11 code we use the code path with normal charmap, to enable it we need to make sure QT_NO_FONTCONFIG is not defined. And since the FcCharset functions doesn't really operates on the font database, we can safely skip the mutex calls. Change-Id: I8c484de200be1d47c053b10be2c51d2273dcd359 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/platformsupport/fontdatabases/fontconfig/fontconfig.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src/platformsupport/fontdatabases/fontconfig/fontconfig.pri') diff --git a/src/platformsupport/fontdatabases/fontconfig/fontconfig.pri b/src/platformsupport/fontdatabases/fontconfig/fontconfig.pri index 2efcb4d4dc..7ea1c64e33 100644 --- a/src/platformsupport/fontdatabases/fontconfig/fontconfig.pri +++ b/src/platformsupport/fontdatabases/fontconfig/fontconfig.pri @@ -1,2 +1,3 @@ HEADERS += $$PWD/qfontconfigdatabase_p.h SOURCES += $$PWD/qfontconfigdatabase.cpp +DEFINES -= QT_NO_FONTCONFIG -- cgit v1.2.3