tai-viet.el 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ;;; tai-viet.el --- support for Tai Viet -*- coding: utf-8; no-byte-compile: t -*-
  2. ;; Copyright (C) 2007-2012 Free Software Foundation, Inc.
  3. ;; Copyright (C) 2007, 2008, 2009, 2010, 2011
  4. ;; National Institute of Advanced Industrial Science and Technology (AIST)
  5. ;; Registration Number H13PRO009
  6. ;; Keywords: multilingual, Tai Viet, i18n
  7. ;; This file is part of GNU Emacs.
  8. ;; GNU Emacs is free software: you can redistribute it and/or modify
  9. ;; it under the terms of the GNU General Public License as published by
  10. ;; the Free Software Foundation, either version 3 of the License, or
  11. ;; (at your option) any later version.
  12. ;; GNU Emacs is distributed in the hope that it will be useful,
  13. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ;; GNU General Public License for more details.
  16. ;; You should have received a copy of the GNU General Public License
  17. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  18. ;;; Commentary:
  19. ;; Tai Viet is being included in the Unicode at the range U+AA80..U+AADF.
  20. ;;; Code:
  21. (set-char-table-range composition-function-table
  22. '(#xAA80 . #xAADF)
  23. 'tai-viet-composition-function)
  24. (set-language-info-alist
  25. "TaiViet" '((charset unicode)
  26. (coding-system utf-8)
  27. (coding-priority utf-8)
  28. (input-method . "tai-sonla")
  29. (sample-text . "TaiViet (ꪁꪫꪱꪣ ꪼꪕ)\t\tꪅꪰꪙꫂ ꪨꪮꫂ ꪁꪫꪱ / ꪅꪽ ꪨꪷ ꪁꪫꪱ")
  30. (documentation . "\
  31. TaiViet refers to the Tai language used by Tai people in
  32. Vietnam, and also refers to the script used for this language.
  33. Both the script and language have the same origin as that of Thai
  34. language/script used in Thailand, but now they differ from each
  35. other in a significant way (especially the scripts are).
  36. The language name is spelled as \"ꪁꪫꪱꪣ ꪼꪕ\", and the script name is
  37. spelled as \"ꪎ ꪼꪕ\" in the modern form, \"ꪎꪳ ꪼꪕ\" in the traditional
  38. form.
  39. As the proposal for TaiViet script to the Unicode is still on
  40. the progress, we use the Private Use Area for TaiViet
  41. characters (U+F000..U+F07E). A TaiViet font encoded accordingly
  42. is available at this web page:
  43. http://www.m17n.org/viettai/
  44. ")))
  45. (provide 'tai-viet)