qt5base-lts/src
Konstantin Ritt 9f7bc42b7d Fix QFontconfigDatabase unable to fallback to a localized family
When populating the font database, FcPatternGetString(FC_FAMILY) gets
a localized font family name; but, in fallbacksForFamily, it gets
a non-localized font family name, so it unable to find the proper font to fallback.
Simply register all family name variants as aliases to localized name
and make sure they are checked when getting fallback families.

Task-number: QTBUG-28806
Task-number: QTBUG-30415

Change-Id: I71c03ae9b51a28736c2576f3442f1bbdb3497c09
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: jian liang <jianliang79@gmail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2013-04-11 00:03:22 +02:00
..
3rdparty ANGLE: Avoid memory copies on buffers when data is null 2013-04-08 11:35:44 +02:00
android Android: Implement debugging without relying on shell run-as 2013-04-05 16:26:31 +02:00
angle ANGLE: Avoid memory copies on buffers when data is null 2013-04-08 11:35:44 +02:00
concurrent Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
corelib Use CMake facility for verbose makefiles instead of an env var. 2013-04-10 17:51:51 +02:00
dbus Doc: fix compilability of the example 2013-04-09 07:13:58 +02:00
gui Fix QFontconfigDatabase unable to fallback to a localized family 2013-04-11 00:03:22 +02:00
network QNetworkConfigurationManager: check whether app is shutting down 2013-04-10 13:27:01 +02:00
opengl Remove unused private members 2013-03-23 01:56:06 +01:00
openglextensions Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
platformsupport Fix QFontconfigDatabase unable to fallback to a localized family 2013-04-11 00:03:22 +02:00
plugins Windows: Dont use black as clear color on opengl windows 2013-04-10 17:51:36 +02:00
printsupport Merge remote-tracking branch 'origin/release' into stable 2013-04-03 15:43:39 +02:00
sql Use Q_DECLARE_PRIVATE for Oracle and DB2 plugins 2013-04-09 10:21:26 +02:00
testlib qWaitForWindow* default timeouts are 5 seconds 2013-03-23 16:47:28 +01:00
tools qdoc: Removed dead code from qdoc 2013-04-08 17:23:15 +02:00
widgets Doc: Fix minor typo 2013-04-10 13:21:09 +02:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml Doc: Fix minor typo 2013-04-09 09:31:32 +02:00
src.pro make bootstrapping of qdoc optional 2013-04-03 00:37:48 +02:00