unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs list <help-gnu-emacs@gnu.org>
Subject: Re: Chinese font in an English environment
Date: Mon, 22 Jan 2007 12:04:59 +0100	[thread overview]
Message-ID: <410DC60F-95CF-42E8-934D-052E56FE0435@Web.DE> (raw)
In-Reply-To: <m21wlqdlis.fsf@sl392.st-edmunds.cam.ac.uk>


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	other threads:[~2007-01-22 11:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-20 10:45 Chinese font in an English environment Leo
2007-01-22 11:04 ` Peter Dyballa [this message]
2007-01-22 11:22   ` Leo
2007-01-22 12:35     ` Peter Dyballa
     [not found] <mailman.3339.1169289957.2155.help-gnu-emacs@gnu.org>
2007-01-22  9:16 ` Brep
2007-01-22 10:44   ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410DC60F-95CF-42E8-934D-052E56FE0435@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).