aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/kon2/files/patch-lib::coding.c
blob: 129a8f9afbb098303e4dbcd46ee0bbfbe70d5d23 (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
34
35
36
--- lib/coding.c.orig   Fri Jan 24 15:08:40 1997
+++ lib/coding.c    Sun May  1 01:53:52 2005
@@ -120,7 +120,7 @@
 
 struct fontRegs fDRegs[] = {
     /* DF_GB2312 */
-    {  GB2312, 0,  "GB2312.1980-0", NULL, 0, 0, 'A', 0, 0},
+    {  FldGB2312, 0,  "GB2312.1980-0", NULL, 0, 0, 'A', 0, 0},
     /* DF_JISX0208 */
     {JISX0208, 0,"JISX0208.1983-0", NULL, 0, 0, 'B', 0, 0},
     /* DF_KSC5601 */
@@ -128,19 +128,19 @@
     /* DF_JISX0212 */
     {JISX0208, 0,       "JISX0212", NULL, 0, 0, 'D', 0, 0},
     /* DF_BIG5_0 */
-    {    BIG5, 0,     "BIG5.HKU-0", NULL, 0, 0, '0', 0, 0},
+    {    BIG5, 0,         "BIG5-0", NULL, 0, 0, '0', 0, 0},
     /* DF_BIG5_1 */
-    {    BIG5, 0,     "BIG5.HKU-0", NULL, 0, 0, '1', 0, 0},
+    {    BIG5, 0,         "BIG5-0", NULL, 0, 0, '1', 0, 0},
     {    NULL, 0,             NULL, NULL, 0, 0,   0, 0, 0}
 };
 
 struct fontLoaderRegs fldDRegs[] = {
-    {  FldGB2312,      0},
+    {     GB2312,      0},
     {FldJISX0208, 0x7424},
     { FldKSC5601, 0x7D7E},
     {FldJISX0208, 0x7424},
-    {       BIG5,      0},
-    {       BIG5,      0},
+    {       BIG5, 0xfefe},
+    {       BIG5, 0xfefe},
     {       NULL,      0}
 };