help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chinese font in an English environment


From: Peter Dyballa
Subject: Re: Chinese font in an English environment
Date: Mon, 22 Jan 2007 12:04:59 +0100


Am 20.01.2007 um 11:45 schrieb Leo:

In an "English" environment, some Chinese characters are displayed
using Japanese fonts since there are character overlapping for both
languages. For example, 输入法 are displayed by two fonts as listed
below. This makes the style of Chinese text looks inconsistent. I am
wondering is there such setting that will make Emacs choose one font
over another.

Have you thought of creating a fontset? Including statements like

(set-fontset-font "fontset-11pt_adobe_courier" (cons (decode-char 'ucs #x0d00) (decode-char 'ucs #x0d7f)) '("code2000" . "iso10646-1")) ; Malayalam (set-fontset-font "fontset-11pt_adobe_courier" (cons (decode-char 'ucs #x0d80) (decode-char 'ucs #x0dff)) '("akshar unicode" . "iso10646-1")) ; Sinhala

you can advise GNU Emacs to use a particular font for a particular range of Unicode characters.

--
Greetings

  Pete

There's something the technicians need to learn from the artists. If it isn't aesthetically pleasing, it's probably wrong.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]