aboutsummaryrefslogtreecommitdiff
path: root/libX11/nls/zh_HK.big5hkscs/XLC_LOCALE.pre
blob: dc19438dd7f70ed9b4a9bc2bfbf3edfbe8924b44 (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
XCOMM
XCOMM (c) 1996, X11R6 L10N for Taiwan and Big5 Encoding Project
XCOMM
XCOMM modified for X11R6.3 by Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw> 1998/01/10
XCOMM modified for Big5HKSCS by Roger So <roger.so@sw-linux.com> 
XCOMM
XCOMM
XCOMM	XLC_FONTSET category
XCOMM
XLC_FONTSET
XCOMM fs0 class (7 bit ASCII)
fs0	{
	charset	{
		name	ISO8859-1:GL
	}
	font	{
		primary		ISO8859-1:GL
		vertical_rotate	all
        }
}

XCOMM fs1 class (HKSCS extensions)
fs1	{
	charset	{
		name	BIG5HKSCS-0:GLGR
	}
	font	{
		primary		BIG5HKSCS-0:GLGR
		substitute	BIG5HKSCS-0:GLGR
	}
}
END XLC_FONTSET

XCOMM
XCOMM	XLC_XLOCALE category
XCOMM
XLC_XLOCALE

encoding_name		zh_HK.big5hkscs
mb_cur_max		2
state_depend_encoding	False

wc_encoding_mask	\x00008000
wc_shift_bits		8

use_stdc_env		True
force_convert_to_mb	True

+XCOMM	cs0 class
cs0	{
	side		GL:Default
	length		1
	wc_encoding	\x00000000
	ct_encoding	ISO8859-1:GL
}

XCOMM	cs1 class
cs1	{
	side		none
	length		2
	byte1		\x85,\xfe
	byte2		\x40,\x7e;\xa1,\xfe

	wc_encoding	\x00008000
	ct_encoding	BIG5HKSCS-0:GLGR:\x1b\x25\x2f\x32

	mb_conversion	[\x8540,\xfefe]->\x0540
	ct_conversion	[\x0540,\x7efe]->\x8540
}

END XLC_XLOCALE