aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt22/files/patch-ao
blob: f26c1d1e80dc3258ca851b303a8dd113a0560b56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- src/kernel/qfontdatabase.cpp    Wed Jan 31 21:26:40 2001
+++ src/kernel/qfontdatabase.cpp.new    Sat Feb  3 16:30:20 2001
@@ -1343,6 +1343,14 @@
         return QFont::KOI8R;
     if ( name == "koi8-u" )
         return QFont::KOI8U;
+    if ( name == "microsoft-cp1251" )
+   return QFont::CP_1251;
+    if ( name == "windows-1251" )
+   return QFont::CP_1251;
+    if ( name == "paratype-cp154" )
+   return QFont::PT_154;
+    if ( name == "paratype-154" )
+   return QFont::PT_154;
     if ( name == "tis620-0" )
         return QFont::TIS620;
     if ( name == "tscii-0" )
@@ -1598,13 +1606,13 @@
         sample += QChar(0x0436);
         sample += QChar(0x2560);
         break;
-    case QFont::CP1251:
+    case QFont::CP_1251:
    sample += QChar(0x0414);
    sample += QChar(0x0490);
    sample += QChar(0x040E);
    sample += QChar(0x20AC);
    break;
-    case QFont::PT154:
+    case QFont::PT_154:
    sample += QChar(0x0496);
    sample += QChar(0x04E8);
    sample += QChar(0x04D8);