diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-05-14 12:55:13 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-05-14 13:16:56 (GMT) |
commit | 6835055e501127a39ef78dfd5768783a75bcb156 (patch) | |
tree | e80aac690b5af595ec0d371ac9f58cabe73fe091 /src/gui | |
parent | b7c3a62c6da3b2ebfea82599d78777527674cc4f (diff) | |
download | Qt-6835055e501127a39ef78dfd5768783a75bcb156.zip Qt-6835055e501127a39ef78dfd5768783a75bcb156.tar.gz Qt-6835055e501127a39ef78dfd5768783a75bcb156.tar.bz2 |
Support linked fonts (.ltt) from standard font locations.
The internal font database was only populated with .ttf and .ccc files.
This patch adds .ltt as file type.
Without complete font type coverage in the fontstore, we may get a
mismatch in the internal association of font table and fontfamily.
Most probably, this will also fix the crash on SSE Satio's. SSE
seems to use .ltt files already on S60 5.0. An improvement needs to be
verified by an owner of such a device, however.
Task-number: QTBUG-8905
Reviewed-by: Aleksandar Sasha Babic
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qfontdatabase_s60.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase_s60.cpp b/src/gui/text/qfontdatabase_s60.cpp index 4171e40..40fe3b7 100644 --- a/src/gui/text/qfontdatabase_s60.cpp +++ b/src/gui/text/qfontdatabase_s60.cpp @@ -113,6 +113,7 @@ QSymbianFontDatabaseExtrasImplementation::QSymbianFontDatabaseExtrasImplementati QStringList filters; filters.append(QLatin1String("*.ttf")); filters.append(QLatin1String("*.ccc")); + filters.append(QLatin1String("*.ltt")); const QFileInfoList fontFiles = alternativeFilePaths(QLatin1String("resource\\Fonts"), filters); const TInt heapMinLength = 0x1000; |