diff options
author | Calvin Morrison <calvin@boxi.(none)> | 2011-11-13 19:22:56 -0500 |
---|---|---|
committer | Calvin Morrison <calvin@boxi.(none)> | 2011-11-13 19:22:56 -0500 |
commit | 7123ebd91f9851d8a0479d043508ec5885e24f91 (patch) | |
tree | b47f9157735eae19da0c14240f4175598b6a3814 /arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff | |
parent | 020bf83511bd20e1ab3ff699fbeecdb9a76bf525 (diff) | |
download | tde-packaging-7123ebd91f9851d8a0479d043508ec5885e24f91.tar.gz tde-packaging-7123ebd91f9851d8a0479d043508ec5885e24f91.zip |
removed old calvin folder
Diffstat (limited to 'arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff')
-rw-r--r-- | arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff b/arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff deleted file mode 100644 index 7c25eef7d..000000000 --- a/arch/calvin/trinity-qt3/old-patches/eastern_asian_languagues.diff +++ /dev/null @@ -1,39 +0,0 @@ ---- qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-01-15 21:09:13.000000000 +0200 -+++ qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-03-10 11:34:22.000000000 +0200 -@@ -966,20 +966,22 @@ - - #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; -- } -- script = defaultHan; -+ // modify script according to locale -+ static QFont::Script defaultHan; -+ 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("ja")) -+ defaultHan = QFont::Han_Japanese; -+ else -+ defaultHan = QFont::Han; // don't change -+ -+ script = defaultHan; - } - #endif - |