view lisp/language/devanagari.el @ 91124:b656aee8436b

(CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): Define if not already. (QCfamily): Share with xfaces.c. (Qstandard, Qsubpixel, Qnatural): New symbols. (syms_of_w32font): Define them. Don't define QCfamily here. (w32_antialias_type, lispy_antialias_type): New functions. (w32_enumfont_pattern_entity): New arg requested_font. Set antialias parameter if non-default was requested. (fill_in_logfont): Fill in lfQuality if :antialias specified.
author Jason Rumney <jasonr@gnu.org>
date Fri, 23 Nov 2007 02:09:19 +0000
parents f55f9811f5d7
children 7febdfaec24b
line wrap: on
line source

;;; devanagari.el --- Support for Devanagari -*- coding: iso-2022-7bit; no-byte-compile: t -*-

;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
;;   Free Software Foundation, Inc.

;; Maintainer:  KAWABATA, Taichi <kawabata@m17n.org>
;; Keywords: multilingual, Indian, Devanagari

;; This file is part of GNU Emacs.

;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; Commentary:

;; This file defines language-info of Devanagari script, and provides
;; compatibility support of old implementation of Devanagari script.

;;; Code:

(set-language-info-alist
 "Devanagari" '((charset indian-is13194 mule-unicode-0100-24ff
                         indian-2-column indian-glyph ;; comment out later
                         )
		(coding-system in-is13194-devanagari)
		(coding-priority in-is13194-devanagari)
		(input-method . "dev-aiba")
		(features devan-util)
		(documentation . "\
Such languages using Devanagari script as Hindi and Marathi
are supported in this language environment."))
 '("Indian"))

;; For automatic composition.
(dolist (range '((#x0903 . #x0903)
		 (#x0905 . #x0939)
		 (#x0958 . #x0961)))
  (set-char-table-range composition-function-table range
			'devanagari-composition-function))

(provide 'devanagari)

;;; arch-tag: fd13667d-868b-41e8-81ef-79dd28bbfed2
;;; devanagari.el ends here