From: Leo <sdl.web@gmail.com>
Subject: Re: Chinese font in an English environment
Date: Mon, 22 Jan 2007 11:22:47 +0000 [thread overview]
Message-ID: <m2tzyjz4oo.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: 410DC60F-95CF-42E8-934D-052E56FE0435@Web.DE
On 2007-01-22, Peter Dyballa said:
> 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.
This seems to the right solution. However, I have no clue what unicode
range for Chinese characters. BTW, how can I turn those
(set-fontset-font ...) into .Xresources settings?
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
next prev parent reply other threads:[~2007-01-22 11:22 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
2007-01-22 11:22 ` Leo [this message]
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=m2tzyjz4oo.fsf@sl392.st-edmunds.cam.ac.uk \
--to=sdl.web@gmail.com \
/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).