-
Bug
-
Resolution: Invalid
-
P2: Important
-
4.4.3
-
None
IPA fonts are well known and widely used. They are bundled with almost all of
Linux distributions. Qt cannot display Greek characters with IPA fonts when
IPA fonts are specified by setFont(). Qt uses other substituted font to
display Greek characters instead. All Greek characters are displayed with
spaces in the worst case when no Greek substitution is available for some
Linux distributions. One of such Linux distribution is RedHat 9.
Attached qt-44-greek-patch-for-mal-fonts.patch is a workarond to fix this
problem.
diff --git a/bin/qtusagereporter b/bin/qtusagereporter
deleted file mode 100755
index 07a113b..0000000
Binary files a/bin/qtusagereporter and /dev/null differ
diff --git a/src/gui/text/qfontdatabase_x11.cpp b/src/gui/text/qfontdatabase_x11.cpp
index de3ebb1..3c8bd91 100644
— a/src/gui/text/qfontdatabase_x11.cpp
+++ b/src/gui/text/qfontdatabase_x11.cpp
@@ -836,7 +836,7 @@ enum
;
static const ushort specialChars[] = {
0, // English
- 0, // Greek
+ 0x391, // Greek
0, // Cyrillic
0, // Armenian
0, // Hebrew