90939
|
1 ;;; tai-viet.el --- support for Tai Viet -*- coding: utf-8; no-byte-compile: t -*-
|
|
2
|
91436
|
3 ;; Copyright (C) 2007, 2008
|
90939
|
4 ;; National Institute of Advanced Industrial Science and Technology (AIST)
|
|
5 ;; Registration Number H13PRO009
|
91436
|
6 ;; Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
90939
|
7
|
|
8 ;; Keywords: multilingual, Tai Viet, i18n
|
|
9
|
|
10 ;; This file is part of GNU Emacs.
|
|
11
|
94665
|
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
|
90939
|
13 ;; it under the terms of the GNU General Public License as published by
|
94665
|
14 ;; the Free Software Foundation, either version 3 of the License, or
|
|
15 ;; (at your option) any later version.
|
90939
|
16
|
|
17 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20 ;; GNU General Public License for more details.
|
|
21
|
|
22 ;; You should have received a copy of the GNU General Public License
|
94665
|
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
90939
|
24
|
|
25 ;;; Commentary:
|
|
26
|
|
27 ;; Tai Viet is being included in the Unicode at the range U+AA80..U+AADF.
|
|
28
|
|
29 ;;; Code:
|
|
30
|
|
31 (set-char-table-range composition-function-table
|
|
32 '(#xAA80 . #xAADF)
|
|
33 'tai-viet-composition-function)
|
|
34
|
|
35 (set-language-info-alist
|
|
36 "TaiViet" '((charset unicode)
|
|
37 (coding-system utf-8)
|
|
38 (coding-priority utf-8)
|
|
39 (input-method . "tai-sonla")
|
|
40 (sample-text
|
|
41 "TaiViet (螽�螽��螽� 螽所�)\t\t螽�螽郁�蟀� 螽��蟀� 螽�螽�� / 螽�螽� 螽�申�� 螽�螽��")
|
|
42 (documentation . "\
|
|
43 TaiViet refers to the Tai language used by Tai people in
|
|
44 Vietnam, and also refers to the script used for this language.
|
|
45 Both the script and language have the same origin as that of Thai
|
|
46 language/script used in Thailand, but now they differ from each
|
|
47 other in a significant way (especially the scripts are).
|
|
48
|
|
49 The language name is spelled as \"螽�螽��螽� 螽所�\", and the script name is
|
|
50 spelled as \"螽�申�� 螽所�\" in the modern form, \"螽�� 螽所�\" in the traditional
|
|
51 from.
|
|
52
|
|
53 As the proposal for TaiViet script to the Unicode is still on
|
|
54 the progress, we use the Private Use Area for TaiViet
|
|
55 characters (U+F000..U+F07E). A TaiViet font encoded accordingly
|
|
56 is available at this web page:
|
|
57 http://www.m17n.org/TaiViet/
|
|
58 ")))
|
|
59
|
|
60 (provide 'tai-viet)
|
|
61
|
|
62 ;; Local Variables:
|
|
63 ;; coding: utf-8
|
|
64 ;; End:
|
90950
|
65
|
|
66 ;; arch-tag: db4e3377-2ba7-47a0-b173-e44420d540c3
|