Mailinglist Archive: opensuse-m17n (18 mails)

< Previous Next >
[opensuse-m17n] Persian fonts with Mandarin Chinese and Hindi
  • From: Stefan Müller <Stefan.Mueller@xxxxxxxxxxxx>
  • Date: Tue, 16 Feb 2010 17:23:05 +0100
  • Message-id: <4B7AC669.8010803@xxxxxxxxxxxx>
Hi,

We are doing multilingual graamr engenering here and I have a font problem.

Currently I use MULE unicode together with GNU Emacs 22.3.1
(x86_64-suse-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-11-23 on
build12.

(when t
(load "mucs")
(setq default-input-method "chinese-py")
(set-default-coding-systems 'utf-8))


;; to get the Hindi composition of characters right `so'
(when t
(load "un-define")

(push '(indian-is13194 . in-is13194-devanagari-post-read-conversion)
un-define-post-read-conversion-charsets-alist))



(when t
; changes the default preference for Chinese instead of Japanese to get
ni1 right.
(un-define-change-charset-order
'(ascii latin-iso8859-1 latin-iso8859-2 latin-iso8859-3
latin-iso8859-4 cyrillic-iso8859-5 greek-iso8859-7
hebrew-iso8859-8 latin-iso8859-9 latin-iso8859-14
latin-iso8859-15 ipa indian-is13194 chinese-gb2312
japanese-jisx0208
japanese-jisx0212 chinese-cns11643-1 chinese-cns11643-2
chinese-cns11643-3 chinese-cns11643-4 chinese-cns11643-5
chinese-cns11643-6 chinese-cns11643-7 chinese-big5-1
chinese-big5-2 korean-ksc5601 latin-jisx0201
katakana-jisx0201 thai-tis620 ethiopic
chinese-sisheng lao vietnamese-viscii-lower
vietnamese-viscii-upper mule-unicode-0100-24ff
mule-unicode-2500-33ff mule-unicode-e000-ffff
mule-ucs-unicode-multichar))

)

The following I got from a web page on emacs-bidi:

;; Arabic & Persian
;; (set-fontset-font "fontset-default"
;; (cons (decode-char 'ucs #x05b0) (decode-char 'ucs #x06ff))
"-m17n-*--20-*-iso10646-1")
;; (set-fontset-font "fontset-default"
;; (cons (decode-char 'ucs #xfb2a) (decode-char 'ucs #xfbff))
"-m17n-*--20-*-iso10646-1")
;; (set-fontset-font "fontset-default"
;; (cons (decode-char 'ucs #xfe70) (decode-char 'ucs #xfefc))
"-m17n-*--20-*-iso10646-1")
;; (set-fontset-font "fontset-default"
;; (cons (decode-char 'ucs #x200c) (decode-char 'ucs #x200f))
"-m17n-*--20-*-iso10646-1")

It works in isolation, but not with the other specifications above.

What I need is something that displays the fonts correctly and does the
character composition. emacs bidi does that, but I do not need all the
functionality. The character composition together with standard left to
right display would be sufficient and even preferred for me. Is there
something that gets this with standard emacs? The character composition
should be there when I load the file, without having to do any command.

Thank you very much!

Best wishes

Stefan

--
Stefan Müller Tel: (+49) (+30) 838 52973
Fax: (+49) (030) 838 4 52973
Institut für Deutsche und Niederländische Philologie
Deutsche Grammatik
Habelschwerdter Allee 45
14 195 Berlin

http://hpsg.fu-berlin.de/~stefan/

http://hpsg.fu-berlin.de/~stefan/Babel/Interaktiv/

--
To unsubscribe, e-mail: opensuse-m17n+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-m17n+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References