summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qfont_s60.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/text/qfont_s60.cpp b/src/gui/text/qfont_s60.cpp
index de7316b..3bb8a42 100644
--- a/src/gui/text/qfont_s60.cpp
+++ b/src/gui/text/qfont_s60.cpp
@@ -62,6 +62,14 @@ static QString classicalSymbianSystemFont()
{
static QString font;
if (font.isEmpty()) {
+ if (User::Language() == ELangPrcChinese) {
+ // Use font with simplified Chinese characters as default
+ QString scfont("MHeiM-C-GB18030-S60");
+ if (fontFamiliesOnFontServer()->contains(scfont)) {
+ font = scfont;
+ return font;
+ }
+ }
static const char* const classicSymbianSystemFonts[] = { "Nokia Sans S60", "Series 60 Sans" };
for (int i = 0; i < sizeof classicSymbianSystemFonts / sizeof classicSymbianSystemFonts[0]; ++i) {
const QString classicFont = QLatin1String(classicSymbianSystemFonts[i]);