all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: anhnmncb <anhnmncb@sina.com>
To: emacs-devel@gnu.org
Subject: Re: Chinese punctuation symbol can't be displayed on windows 2000.
Date: Wed, 17 Dec 2008 17:02:39 +0800	[thread overview]
Message-ID: <878wqf9ntc.fsf@sina.com> (raw)
In-Reply-To: 87oczhd5kv.fsf@sina.com

Jason Rumney (2008-12-17 05:19 +0000) wrote:

> Quoting anhnmncb <anhnmncb@sina.com>:
>
>> Ping. What info should I need to provide for you to get rid of it? It is
>> too annoying to let me live in emacs :(
>
> I think the problem is in w32font_has_char in w32font.c. Try replacing the
> entire body of that function with:
>
> {
>     return -1;
> }
>
> The problem is that function places too much faith in the character range
> support claimed by fonts. Previously I changed it to return -1 (uncertain) when
> a font claims to cover a Unicode range, because many fonts claim coverage, but
> do not cover all characters in that range. Now according to your report, there
> are fonts shipped with Windows 2000 that do not claim support for the cjk-misc
> range, even if they (partially at least) cover it. So it seems there are no
> circumstances left where we can be sure whether a character is or is not
> included in a font without opening the font.

It solves the issue, and I find that emacs now can display most of fonts
that can not even when on xp and vista.





  parent reply	other threads:[~2008-12-17  9:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 10:57 Chinese punctuation symbol can't be displayed on windows 2000 anhnmncb
2008-12-14  2:58 ` anhnmncb
2008-12-14 15:21   ` Jason Rumney
2008-12-15  0:05     ` anhnmncb
2008-12-15 13:38       ` Jason Rumney
2008-12-15 15:33         ` anhnmncb
2008-12-17  3:04 ` anhnmncb
2008-12-17  9:02 ` anhnmncb [this message]
2008-12-17  9:53   ` liu shukui
2008-12-17 10:27     ` anhnmncb
2008-12-17 14:44       ` Jason Rumney

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

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

  git send-email \
    --in-reply-to=878wqf9ntc.fsf@sina.com \
    --to=anhnmncb@sina.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.