summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thailatex/fonts/thailigs.enc
blob: 6ea87ac3eb2c77e2c68b753a8a4955bd46fa8ccd (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
% LTHUNI.enc
% by Poonlap Veerathanabutr <poonlap@linux.thai.net>
% 2002-12-30
% 2003-09-15 Chanop Silpa-Anan <chanop@debian.org>
%  * Use new unicode variant name.
%
% This is LaTeX LTH (Locale Thai) encoding for unicode encoded fonts
%
%ligature for making LEFT vowels, tone marks and Nikhahit
%PoPla left vowel
%LIGKERN uni0E1B uni0E31 |=:> uni0E31.left ;
%LIGKERN uni0E1B uni0E34 |=:> uni0E34.left ;
%LIGKERN uni0E1B uni0E35 |=:> uni0E35.left ;
%LIGKERN uni0E1B uni0E36 |=:> uni0E36.left ;
%LIGKERN uni0E1B uni0E37 |=:> uni0E37.left ;
%LIGKERN uni0E1B uni0E38 |=:> uni0E38.left ;
%LIGKERN uni0E1B uni0E39 |=:> uni0E39.left ;
%LIGKERN uni0E1B uni0E3A |=:> uni0E3A.left ;
%LIGKERN uni0E1B uni0E47 |=:> uni0E47.left ;
%Popla left tone marks, thanthakhat, nikhahit
%LIGKERN uni0E1B uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E1B uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E1B uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E1B uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E1B uni0E4C.low |=:> uni0E4C.low_left ;
%LIGKERN uni0E1B uni0E4D |=:> uni0E4D.left ;
%Popla sara-am
%LIGKERN uni0E1B uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ;

%FoFa left vowel
%LIGKERN uni0E1D uni0E31 |=:> uni0E31.left ;
%LIGKERN uni0E1D uni0E34 |=:> uni0E34.left ;
%LIGKERN uni0E1D uni0E35 |=:> uni0E35.left ;
%LIGKERN uni0E1D uni0E36 |=:> uni0E36.left ;
%LIGKERN uni0E1D uni0E37 |=:> uni0E37.left ;
%LIGKERN uni0E1D uni0E38 |=:> uni0E38.left ;
%LIGKERN uni0E1D uni0E39 |=:> uni0E39.left ;
%LIGKERN uni0E1D uni0E3A |=:> uni0E3A.left ;
%LIGKERN uni0E1D uni0E47 |=:> uni0E47.left ;
%FoFa left tone marks, thanthakhat, nikhahit
%LIGKERN uni0E1D uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E1D uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E1D uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E1D uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E1D uni0E4C.low |=:> uni0E4C.low_left ;
%LIGKERN uni0E1D uni0E4D |=:> uni0E4D.left ;
%FoFa sara-am
%LIGKERN uni0E1D uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ;

%FoFan left vowel
%LIGKERN uni0E1F uni0E31 |=:> uni0E31.left ;
%LIGKERN uni0E1F uni0E34 |=:> uni0E34.left ;
%LIGKERN uni0E1F uni0E35 |=:> uni0E35.left ;
%LIGKERN uni0E1F uni0E36 |=:> uni0E36.left ;
%LIGKERN uni0E1F uni0E37 |=:> uni0E37.left ;
%LIGKERN uni0E1F uni0E38 |=:> uni0E38.left ;
%LIGKERN uni0E1F uni0E39 |=:> uni0E39.left ;
%LIGKERN uni0E1F uni0E3A |=:> uni0E3A.left ;
%LIGKERN uni0E1F uni0E47 |=:> uni0E47.left ;
%FoFan left tone marks, thanthakhat, nikhahit
%LIGKERN uni0E1F uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E1F uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E1F uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E1F uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E1F uni0E4C.low |=:> uni0E4C.low_left ;
%LIGKERN uni0E1F uni0E4D |=:> uni0E4D.left ;
%FoFan sara-am
%LIGKERN uni0E1F uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ;

%LoChula left vowel
%LIGKERN uni0E2C uni0E31 |=:> uni0E31.left ;
%LIGKERN uni0E2C uni0E34 |=:> uni0E34.left ;
%LIGKERN uni0E2C uni0E35 |=:> uni0E35.left ;
%LIGKERN uni0E2C uni0E36 |=:> uni0E36.left ;
%LIGKERN uni0E2C uni0E37 |=:> uni0E37.left ;
%LIGKERN uni0E2C uni0E38 |=:> uni0E38.left ;
%LIGKERN uni0E2C uni0E39 |=:> uni0E39.left ;
%LIGKERN uni0E2C uni0E3A |=:> uni0E3A.left ;
%LIGKERN uni0E2C uni0E47 |=:> uni0E47.left ;
%LoChula left tone marks, thanthakhat, nikhahit
%LIGKERN uni0E2C uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E2C uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E2C uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E2C uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E2C uni0E4C.low |=:> uni0E4C.low_left ;
%LIGKERN uni0E2C uni0E4D |=:> uni0E4D.left ;
%LoChula sara-am
%LIGKERN uni0E2C uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ;

%ligature for making left SaraAm with HiLeft tone marks
%LIGKERN uni0E48.low_left uni0E33 =:| uni0E48.left ;
%LIGKERN uni0E48.left uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E49.low_left uni0E33 =:| uni0E49.left ;
%LIGKERN uni0E49.left uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4A.low_left uni0E33 =:| uni0E4A.left ;
%LIGKERN uni0E4A.left uni0E33 |=:|> uni0E4D.left ;
%LIGKERN uni0E4B.low_left uni0E33 =:| uni0E4B.left ;
%LIGKERN uni0E4B.left uni0E33 |=:|> uni0E4D.left ;

%LIGKERN uni0E48.low uni0E33 =:| uni0E48 ;
%LIGKERN uni0E49.low uni0E33 =:| uni0E49 ;
%LIGKERN uni0E4A.low uni0E33 =:| uni0E4A ;
%LIGKERN uni0E4B.low uni0E33 =:| uni0E4B ;

%ligature for making HI tone marks
%LIGKERN uni0E31 uni0E48.low |=:> uni0E48 ;
%LIGKERN uni0E31 uni0E49.low |=:> uni0E49 ;
%LIGKERN uni0E31 uni0E4A.low |=:> uni0E4A ;
%LIGKERN uni0E31 uni0E4B.low |=:> uni0E4B ;
%LIGKERN uni0E34 uni0E48.low |=:> uni0E48 ;
%LIGKERN uni0E34 uni0E49.low |=:> uni0E49 ;
%LIGKERN uni0E34 uni0E4A.low |=:> uni0E4A ;
%LIGKERN uni0E34 uni0E4B.low |=:> uni0E4B ;
%LIGKERN uni0E34 uni0E4C.low |=:> uni0E4C ;
%LIGKERN uni0E35 uni0E48.low |=:> uni0E48 ;
%LIGKERN uni0E35 uni0E49.low |=:> uni0E49 ;
%LIGKERN uni0E35 uni0E4A.low |=:> uni0E4A ;
%LIGKERN uni0E35 uni0E4B.low |=:> uni0E4B ;
%LIGKERN uni0E35 uni0E4C.low |=:> uni0E4C ;
%LIGKERN uni0E36 uni0E48.low |=:> uni0E48 ;
%LIGKERN uni0E36 uni0E49.low |=:> uni0E49 ;
%LIGKERN uni0E36 uni0E4A.low |=:> uni0E4A ;
%LIGKERN uni0E36 uni0E4B.low |=:> uni0E4B ;
%LIGKERN uni0E36 uni0E4C.low |=:> uni0E4C ;
%LIGKERN uni0E37 uni0E48.low |=:> uni0E48 ;
%LIGKERN uni0E37 uni0E49.low |=:> uni0E49 ;
%LIGKERN uni0E37 uni0E4A.low |=:> uni0E4A ;
%LIGKERN uni0E37 uni0E4B.low |=:> uni0E4B ;
%LIGKERN uni0E37 uni0E4C.low |=:> uni0E4C ;

%ligature for making LEFT HI tone marks and thantakhat
%LIGKERN uni0E31.left uni0E48.low |=:> uni0E48.left ;
%LIGKERN uni0E34.left uni0E48.low |=:> uni0E48.left ;
%LIGKERN uni0E35.left uni0E48.low |=:> uni0E48.left ;
%LIGKERN uni0E36.left uni0E48.low |=:> uni0E48.left ;
%LIGKERN uni0E37.left uni0E48.low |=:> uni0E48.left ;

%LIGKERN uni0E31.left uni0E49.low |=:> uni0E49.left ;
%LIGKERN uni0E34.left uni0E49.low |=:> uni0E49.left ;
%LIGKERN uni0E35.left uni0E49.low |=:> uni0E49.left ;
%LIGKERN uni0E36.left uni0E49.low |=:> uni0E49.left ;
%LIGKERN uni0E37.left uni0E49.low |=:> uni0E49.left ;

%LIGKERN uni0E31.left uni0E4A.low |=:> uni0E4A.left ;
%LIGKERN uni0E34.left uni0E4A.low |=:> uni0E4A.left ;
%LIGKERN uni0E35.left uni0E4A.low |=:> uni0E4A.left ;
%LIGKERN uni0E36.left uni0E4A.low |=:> uni0E4A.left ;
%LIGKERN uni0E37.left uni0E4A.low |=:> uni0E4A.left ;

%LIGKERN uni0E31.left uni0E4B.low |=:> uni0E4B.left ;
%LIGKERN uni0E34.left uni0E4B.low |=:> uni0E4B.left ;
%LIGKERN uni0E35.left uni0E4B.low |=:> uni0E4B.left ;
%LIGKERN uni0E36.left uni0E4B.low |=:> uni0E4B.left ;
%LIGKERN uni0E37.left uni0E4B.low |=:> uni0E4B.left ;

%LIGKERN uni0E34.left uni0E4C.low |=:> uni0E4C.left ;

%ligature for making LEFT LOW tone marks and thantakhat
%LIGKERN uni0E38.left uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E39.left uni0E48.low |=:> uni0E48.low_left ;
%LIGKERN uni0E3A.left uni0E48.low |=:> uni0E48.low_left ;

%LIGKERN uni0E38.left uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E39.left uni0E49.low |=:> uni0E49.low_left ;
%LIGKERN uni0E3A.left uni0E49.low |=:> uni0E49.low_left ;

%LIGKERN uni0E38.left uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E39.left uni0E4A.low |=:> uni0E4A.low_left ;
%LIGKERN uni0E3A.left uni0E4A.low |=:> uni0E4A.low_left ;

%LIGKERN uni0E38.left uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E39.left uni0E4B.low |=:> uni0E4B.low_left ;
%LIGKERN uni0E3A.left uni0E4B.low |=:> uni0E4B.low_left ;

%LIGKERN uni0E38.left uni0E4C.low |=:> uni0E4C.low_left ;

%ligature for making HI MaiTaikhu and Nikhahit
%LIGKERN uni0E31 uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E34 uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E35 uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E36 uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E37 uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E31.left uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E34.left uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E35.left uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E36.left uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E37.left uni0E47 |=:> uni0E47.high ;
%LIGKERN uni0E31 uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E34 uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E35 uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E36 uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E37 uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E31.left uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E34.left uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E35.left uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E36.left uni0E4D |=:> uni0E4D.high ;
%LIGKERN uni0E37.left uni0E4D |=:> uni0E4D.high ;

%ligature for making LOW SaraU SaraUu and Phinthu
%LIGKERN uni0E0E uni0E38 |=:> uni0E38.low ;
%LIGKERN uni0E0E uni0E39 |=:> uni0E39.low ;
%LIGKERN uni0E0E uni0E3A |=:> uni0E3A.low ;
%LIGKERN uni0E0F uni0E38 |=:> uni0E38.low ;
%LIGKERN uni0E0F uni0E39 |=:> uni0E39.low ;
%LIGKERN uni0E0F uni0E3A |=:> uni0E3A.low ;

%ligature for making YoYingDescless and ThoThanDescless
%LIGKERN uni0E0D uni0E38 =:|> uni0E0D.descless ;
%LIGKERN uni0E0D uni0E39 =:|> uni0E0D.descless ;
%LIGKERN uni0E0D uni0E3A =:|> uni0E0D.descless ;
%LIGKERN uni0E10 uni0E38 =:|> uni0E10.descless ;
%LIGKERN uni0E10 uni0E39 =:|> uni0E10.descless ;
%LIGKERN uni0E10 uni0E3A =:|> uni0E10.descless ;

%ligature for making Lakkhangyao
%LIGKERN uni0E24 uni0E32 |=:> uni0E45 ;
%LIGKERN uni0E26 uni0E32 |=:> uni0E45 ;

%default ligature and kern set normally built-in in afm2tfm
%LIGKERN question quoteleft =: questiondown ; exclam quoteleft =: exclamdown ;
%LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ;
%LIGKERN quoteleft quoteleft =: quotedblleft ;
%LIGKERN quoteright quoteright =: quotedblright ;
%LIGKERN space {} * ; * {} space ; zero {} * ; * {} zero ;
%LIGKERN one {} * ; * {} one ; two {} * ; * {} two ;
%LIGLERN three {} * ; * {} three ; four {} * ; * {} four ;
%LIGLERN five {} * ; * {} five ; six {} * ; * {} six ;
%LIGKERN seven {} * ; * {} seven ; eight {} * ; * {} eight ;
%LIGKERN nine {} * ; * {} nine ;
%LIGKERN comma comma =: quotedblbase ; less less =: guillemotleft ;
%LIGKERN greater greater =: guillemotright ;
%LIGKERN f f =: ff ; f i =: fi ; f l =: fl ;
%LIGKERN ff i =: ffi ; ff l =: ffl ;

/LTHEncoding [
% 0x00
/.notdef /uni0E38.left /uni0E39.left /uni0E3A.left 
/.notdef /.notdef /.notdef /.notdef 
/.notdef /.notdef /.notdef /.notdef 
/.notdef /quotesinglbase /guilsinglleft /guilsinglright
% 0x10
/exclamdown /questiondown /quotedblbase /guillemotleft 
/guillemotright /.notdef /.notdef /.notdef
/perthousand /dotlessi /dotlessj /ff
/fi /fl /ffi /ffl
% 0x20
/space /exclam /quotedbl /numbersign
/dollar /percent /ampersand /quoteright
/parenleft /parenright /asterisk /plus
/comma /hyphen /period /slash
% 0x30
/zero /one /two /three
/four /five /six /seven
/eight /nine /colon /semicolon
/less /equal /greater /question
% 0x40
/at /A /B /C
/D /E /F /G
/H /I /J /K
/L /M /N /O
% 0x50
/P /Q /R /S
/T /U /V /W
/X /Y /Z /bracketleft
/backslash /bracketright /asciicircum /underscore
% 0x60
/quoteleft /a /b /c
/d /e /f /g
/h /i /j /k
/l /m /n /o
% 0x70
/p /q /r /s
/t /u /v /w
/x /y /z /braceleft
/bar /braceright /asciitilde /.notdef
% 0x80
/uni0E10.descless /uni0E34.left /uni0E35.left /uni0E36.left
/uni0E37.left /ellipsis /uni0E48.low_left /uni0E49.low_left
/uni0E4A.low_left /uni0E4B.low_left /uni0E4C.low_left /uni0E48
/uni0E49 /uni0E4A /uni0E4B /uni0E4C
% 0x90
/uni0E0D.descless /quoteleft /quoteright /quotedblleft
/quotedblright /bullet /endash /emdash
/uni0E31.left /uni0E4D.left /uni0E47.left /uni0E48.left
/uni0E49.left /uni0E4A.left /uni0E4B.left /uni0E4C.left
% 0xA0
/nonbreakingspace /uni0E01 /uni0E02 /uni0E03
/uni0E04 /uni0E05 /uni0E06 /uni0E07
/uni0E08 /uni0E09 /uni0E0A /uni0E0B
/uni0E0C /uni0E0D /uni0E0E /uni0E0F
% 0xB0
/uni0E10 /uni0E11 /uni0E12 /uni0E13
/uni0E14 /uni0E15 /uni0E16 /uni0E17
/uni0E18 /uni0E19 /uni0E1A /uni0E1B
/uni0E1C /uni0E1D /uni0E1E /uni0E1F
% 0xC0
/uni0E20 /uni0E21 /uni0E22 /uni0E23
/uni0E24 /uni0E25 /uni0E26 /uni0E27
/uni0E28 /uni0E29 /uni0E2A /uni0E2B
/uni0E2C /uni0E2D /uni0E2E /uni0E2F
% 0xD0
/uni0E30 /uni0E31 /uni0E32 /uni0E33
/uni0E34 /uni0E35 /uni0E36 /uni0E37
/uni0E38 /uni0E39 /uni0E3A /uni0E4D.high
/zerowidthspace /dottedcircle /uni0E47.high /uni0E3F
% 0xE0
/uni0E40 /uni0E41 /uni0E42 /uni0E43
/uni0E44 /uni0E45 /uni0E46 /uni0E47
/uni0E48.low /uni0E49.low /uni0E4A.low /uni0E4B.low
/uni0E4C.low /uni0E4D /uni0E4E /uni0E4F
% 0xF0
/uni0E50 /uni0E51 /uni0E52 /uni0E53
/uni0E54 /uni0E55 /uni0E56 /uni0E57
/uni0E58 /uni0E59 /uni0E5A /uni0E5B
/uni0E38.low /uni0E39.low /uni0E3A.low /.notdef
] def