diff options
Diffstat (limited to 'x11-toolkits/qt22/files/patch-an')
-rw-r--r-- | x11-toolkits/qt22/files/patch-an | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/x11-toolkits/qt22/files/patch-an b/x11-toolkits/qt22/files/patch-an deleted file mode 100644 index b3a5f30703bb..000000000000 --- a/x11-toolkits/qt22/files/patch-an +++ /dev/null @@ -1,44 +0,0 @@ ---- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 -+++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 -@@ -324,6 +324,9 @@ - { "ISO 8859-14", QFont::ISO_8859_14 }, - { "ISO 8859-15", QFont::ISO_8859_15 }, - { "KOI8-R", QFont::KOI8R }, -+ { "KOI8-U", QFont::KOI8U }, -+ { "CP 1251", QFont::CP_1251 }, -+ { "PT 154", QFont::PT_154 }, - { "eucJP", QFont::Set_Ja }, - { "SJIS", QFont::Set_Ja }, - { "JIS7", QFont::Set_Ja }, -@@ -522,6 +525,12 @@ - } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && - strcmp( tokens[CharsetEncoding], "u" ) == 0) { - fd->charSet = QFont::KOI8U; -+ } else if( qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ (qstrcmp( tokens[CharsetEncoding], "1251" ) == 0 ) ) { -+ fd->charSet = QFont::CP_1251; -+ } else if( qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ (qstrcmp( tokens[CharsetEncoding], "154" ) == 0 ) ) { -+ fd->charSet = QFont::PT_154; - } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && - qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { - fd->charSet = QFont::TSCII; -@@ -1435,6 +1444,18 @@ - score |= CharSetScore; - else - exactMatch = FALSE; -+ } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; -+ } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; - } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && - charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { - int i = 0; |