diff options
Diffstat (limited to 'x11-libs/qt/files/qt-3.3.8b-cjk-fix.patch')
-rw-r--r-- | x11-libs/qt/files/qt-3.3.8b-cjk-fix.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/x11-libs/qt/files/qt-3.3.8b-cjk-fix.patch b/x11-libs/qt/files/qt-3.3.8b-cjk-fix.patch deleted file mode 100644 index 5372bdb..0000000 --- a/x11-libs/qt/files/qt-3.3.8b-cjk-fix.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- src/kernel/qfontdatabase.cpp 2008-07-10 06:17:31.000000000 +0800 -+++ src/kernel/qfontdatabase.cpp 2008-07-10 06:27:53.000000000 +0800 -@@ -960,19 +960,17 @@ - #ifdef Q_WS_X11 - if (script == QFont::Han) { - // modify script according to locale -- static QFont::Script defaultHan = QFont::UnknownScript; -- if (defaultHan == QFont::UnknownScript) { -- QCString locale = setlocale(LC_ALL, NULL); -- if (locale.contains("ko")) -- defaultHan = QFont::Han_Korean; -- else if (locale.contains("zh_TW") || locale.contains("zh_HK")) -- defaultHan = QFont::Han_TraditionalChinese; -- else if (locale.contains("zh")) -- defaultHan = QFont::Han_SimplifiedChinese; -- else -- defaultHan = QFont::Han_Japanese; -+ static QFont::Script defaultHan = QFont::Han; -+ QCString locale = setlocale(LC_ALL, NULL); -+ if (locale.contains("ko")) -+ defaultHan = QFont::Han_Korean; -+ else if (locale.contains("zh_TW") || locale.contains("zh_HK")) -+ defaultHan = QFont::Han_TraditionalChinese; -+ else if (locale.contains("zh")) -+ defaultHan = QFont::Han_SimplifiedChinese; -+ else if (locale.contains("jp")) -+ defaultHan = QFont::Han_Japanese; -- } - script = defaultHan; - } - #endif - |