annotate lisp/mule/ethiopic.el @ 5176:8b2f75cecb89

rename objects* (.c, .h and .el files) to fontcolor* -------------------- ChangeLog entries follow: -------------------- etc/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * dbxrc.in: Rename objects.c -> fontcolor.c. lisp/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * dumped-lisp.el (preloaded-file-list): * font.el (font-tty-find-closest-color): * fontcolor.el: * fontcolor.el (ws-object-property-1): Removed. * fontcolor.el (fontcolor-property-1): New. * fontcolor.el (font-name): * fontcolor.el (font-ascent): * fontcolor.el (font-descent): * fontcolor.el (font-width): * fontcolor.el (font-height): * fontcolor.el (font-proportional-p): * fontcolor.el (font-properties): * fontcolor.el (font-truename): * fontcolor.el (color-name): * fontcolor.el (color-rgb-components): * x-faces.el: Rename objects.el -> fontcolor.el. lwlib/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * lwlib-colors.h: objects*.h -> fontcolor*.h. man/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * internals/internals.texi (A Summary of the Various XEmacs Modules): * internals/internals.texi (Modules for other Display-Related Lisp Objects): objects*.[ch] -> fontcolor*.[ch]. nt/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * xemacs.dsp: * xemacs.mak: * xemacs.mak (OPT_OBJS): objects*.[ch] -> fontcolor*.[ch]. src/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * EmacsFrame.c: * Makefile.in.in (x_objs): * Makefile.in.in (mswindows_objs): * Makefile.in.in (tty_objs): * Makefile.in.in (gtk_objs): * Makefile.in.in (objs): * console-tty.h: * console-x-impl.h: * console-x-impl.h (struct x_device): * console-x.h: * console-xlike-inc.h: * depend: * device-gtk.c: * device-msw.c: * device-x.c: * device-x.c (x_init_device): * device-x.c (x_finish_init_device): * device.c: * devslots.h (MARKED_SLOT): * emacs.c (main_1): * event-Xt.c: * event-gtk.c: * event-msw.c: * faces.c: * font-mgr.c: * fontcolor-gtk-impl.h: * fontcolor-gtk.c: * fontcolor-gtk.c (syms_of_fontcolor_gtk): * fontcolor-gtk.c (console_type_create_fontcolor_gtk): * fontcolor-gtk.c (vars_of_fontcolor_gtk): * fontcolor-gtk.h: * fontcolor-impl.h: * fontcolor-msw-impl.h: * fontcolor-msw.c: * fontcolor-msw.c (syms_of_fontcolor_mswindows): * fontcolor-msw.c (console_type_create_fontcolor_mswindows): * fontcolor-msw.c (reinit_vars_of_fontcolor_mswindows): * fontcolor-msw.c (vars_of_fontcolor_mswindows): * fontcolor-msw.h: * fontcolor-msw.h (mswindows_color_to_string): * fontcolor-tty-impl.h: * fontcolor-tty.c: * fontcolor-tty.c (syms_of_fontcolor_tty): * fontcolor-tty.c (console_type_create_fontcolor_tty): * fontcolor-tty.c (vars_of_fontcolor_tty): * fontcolor-tty.h: * fontcolor-x-impl.h: * fontcolor-x.c: * fontcolor-x.c (syms_of_fontcolor_x): * fontcolor-x.c (console_type_create_fontcolor_x): * fontcolor-x.c (vars_of_fontcolor_x): * fontcolor-x.c (Xatoms_of_fontcolor_x): * fontcolor-x.h: * fontcolor.c: * fontcolor.c (syms_of_fontcolor): * fontcolor.c (specifier_type_create_fontcolor): * fontcolor.c (reinit_specifier_type_create_fontcolor): * fontcolor.c (reinit_vars_of_fontcolor): * fontcolor.c (vars_of_fontcolor): * fontcolor.h: * fontcolor.h (set_face_boolean_attached_to): * frame-gtk.c: * frame-x.c: * glyphs-eimage.c: * glyphs-gtk.c: * glyphs-msw.c: * glyphs-widget.c: * glyphs-x.c: * glyphs.c: * gtk-glue.c: * gtk-glue.c (xemacs_type_register): * gtk-xemacs.c: * inline.c: * intl-win32.c: * lisp.h: * lrecord.h: * mule-charset.c: * native-gtk-toolbar.c: * redisplay-msw.c: * redisplay-tty.c: * redisplay.c: * select-x.c: * select.c: * symsinit.h: * toolbar-msw.c: * toolbar-msw.c (TOOLBAR_ITEM_ID_BITS): * toolbar-x.c: * ui-gtk.c: * window.c: Rename objects*.[ch] -> fontcolor*.[ch]. Fix up all references to the old files (e.g. in #include statements, Makefiles, functions like syms_of_objects_x(), etc.). tests/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * reproduce-crashes.el (8): objects*.[ch] -> fontcolor*.[ch].
author Ben Wing <ben@xemacs.org>
date Mon, 22 Feb 2010 06:49:30 -0600
parents aa28d959af41
children 308d34e9f07d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
1 ;;; ethiopic.el --- Support for Ethiopic -*- coding: iso-2022-7bit; -*-
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
2
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
3 ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
6
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
7 ;; Keywords: multilingual, Ethiopic
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
8
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
9 ;; This file is part of XEmacs.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
10
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
11 ;; XEmacs is free software; you can redistribute it and/or modify it
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
12 ;; under the terms of the GNU General Public License as published by
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
14 ;; any later version.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
15
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
16 ;; XEmacs is distributed in the hope that it will be useful, but
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
19 ;; General Public License for more details.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
20
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
24 ;; 02111-1307, USA.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
25
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
26 ;; Author: TAKAHASHI Naoto <ntakahas@etl.go.jp>
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
27 ;; modified by MORIOKA Tomohiko <morioka@jaist.ac.jp> for XEmacs.
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
28
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
29 ;;; Code:
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
30
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
31 ;; Ethiopic characters (Amahric and Tigrigna).
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
32 (make-charset 'ethiopic "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
33 '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
34 2
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 778
diff changeset
35 registries ["Ethiopic-Unicode"]
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
36 chars 94
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
37 columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
38 direction l2r
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
39 final ?3
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
40 graphic 0
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
41 short-name "Ethiopic"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 444
diff changeset
42 long-name "Ethiopic characters"
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
43 ))
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
44
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
45 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
46 ;;; ETHIOPIC
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
47 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
48
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
49 (define-category ?E "Ethiopic (Ge'ez) character.")
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
50 (modify-category-entry 'ethiopic ?E)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
51
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
52 (define-ccl-program ccl-encode-ethio-font
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
53 '(0
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
54 ;; In: R0:ethiopic (not checked)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
55 ;; R1:position code 1
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
56 ;; R2:position code 2
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
57 ;; Out: R1:font code point 1
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
58 ;; R2:font code point 2
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
59 ((r1 -= 33)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
60 (r2 -= 33)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
61 (r1 *= 94)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
62 (r2 += r1)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
63 (if (r2 < 256)
4072
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3970
diff changeset
64 (r1 = #x12)
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
65 (if (r2 < 448)
4072
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3970
diff changeset
66 ((r1 = #x13) (r2 -= 256))
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3970
diff changeset
67 ((r1 = #xfd) (r2 -= 208))
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
68 ))))
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
69 "CCL program to encode an Ethiopic code to code point of Ethiopic font.")
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
70
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 353
diff changeset
71 (set-charset-ccl-program 'ethiopic 'ccl-encode-ethio-font)
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
72
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
73 (set-language-info-alist
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
74 "Ethiopic" '((setup-function . setup-ethiopic-environment-internal)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
75 (exit-function . exit-ethiopic-environment)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
76 (charset ethiopic)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
77 (coding-system iso-2022-7bit)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
78 (coding-priority iso-2022-7bit)
3970
949ac151a10d [xemacs-hg @ 2007-05-20 20:09:20 by aidan]
aidan
parents: 3659
diff changeset
79 ;; (input-method . "ethiopic")
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
80 (features ethio-util)
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
81 (sample-text . "$(3$Q#U!.(B")
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
82 (documentation . t)))
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
83
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 778
diff changeset
84 ;; In a more ideal world, we could set the default face fallback from here
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 778
diff changeset
85 ;; to use one of the misc-fixed sizes that handles Ethiopic.
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 778
diff changeset
86
353
3b3709405255 Import from CVS: tag r21-1-6
cvs
parents:
diff changeset
87 ;;; ethiopic.el ends here