aboutsummaryrefslogtreecommitdiff
path: root/libX11/nls/zh_CN.gb18030/XLC_LOCALE.pre
blob: f9544c70e02209dce464d7eb82e31c69346f7610 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
XCOMM     XFree86 NLS for Chinese encoding GB18030
XCOMM		Modified from xc/nls/XLC_LOCALE/en_US.UTF-8
XCOMM    	by James Su <suzhe@turbolinux.com.cn>

XCOMM 
XCOMM 	XLC_FONTSET category
XCOMM 
XLC_FONTSET

on_demand_loading	True

object_name		generic

XCOMM	We leave the legacy encodings in for the moment, because we don't
XCOMM	have that many ISO10646 fonts yet.
XCOMM 	fs0 class (7 bit ASCII)
fs0	{
	charset	{
		name	ISO8859-1:GL
	}
	font	{
		primary	ISO8859-1:GL
		vertical_rotate	all
	}
}

XCOMM	fs1 class (ISO8859 families)
fs1	{
	charset	{
		name	ISO8859-1:GR
	}
	font	{
		primary	ISO8859-1:GR
	}
}

XCOMM	fs2 class (Chinese Han Character)
fs2	{
	charset	{
		name	GB2312.1980-0:GL
	}
	font	{
		primary	GB2312.1980-0:GL
	}
}

XCOMM	fs3 class (Chinese Han Character GBK)
fs3	{
	charset	{
		name    GBK-0:GLGR
	}
	font	{
		primary GBK-0:GLGR
		substitute GB13000.1993-1:GLGR
	}
}

XCOMM	fs4 class
fs4	{
	charset	{
		name	ISO10646-1
	}
	font	{
		primary	GB18030-0
		substitute GBK2K-0
	}
}
END XLC_FONTSET

XCOMM 
XCOMM 	XLC_XLOCALE category
XCOMM 
XLC_XLOCALE

encoding_name		GB18030
mb_cur_max		4
state_depend_encoding	False

XCOMM	cs0 class
cs0	{
	side		GL:Default
	length		1
	ct_encoding	ISO8859-1:GL
}

XCOMM	cs1 class
cs1	{
	side            GR:Default
	length          1
	ct_encoding     ISO8859-1:GR
}
 
XCOMM	cs2 class
cs2	{
	side            GR
	length          2
	ct_encoding     GB2312.1980-0:GL; GB2312.1980-0:GR
}

XCOMM	cs3 class
cs3	{
	side		none
	ct_encoding	ISO10646-1
}

END XLC_XLOCALE