From: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Bug] Unusual wide Chinese fonts on w32 (again)
Date: Tue, 25 Oct 2005 22:19:26 +0100 [thread overview]
Message-ID: <umzkxs3a9.fsf@jasonrumney.net> (raw)
In-Reply-To: <5065e2900510201859s16a6b3el@mail.gmail.com> (Sun Yijiang's message of "Fri, 21 Oct 2005 09:59:48 +0800")
Sun Yijiang <sunyijiang@gmail.com> writes:
> I wonder why this has not been fixed yet, maybe he cannot make tests on his
> computer? It's easy to verify: use `create-fontset-from-fontset-spec' to
> assign a font for chinese-gb2312 and you can see all Chinese chars is 4
> times wide of ascii chars.
I have made a change that fixes this bug. There is still a problem if
create-fontset-from-ascii-font is used with a font with double-width
characters and font-lock is enabled. I think the problem is
limited to Windows because on X always uses separate fonts for
different encodings, but it appears that FONT_WIDTH,
FONT_AVERAGE_WIDTH and the actual character metrics are still not used
in a consistent way throughout the code.
next prev parent reply other threads:[~2005-10-25 21:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 1:59 [Bug] Unusual wide Chinese fonts on w32 (again) Sun Yijiang
2005-10-21 7:54 ` Jason Rumney
2005-10-25 21:19 ` Jason Rumney [this message]
2005-10-31 6:34 ` Sun Yijiang
2005-11-06 11:49 ` 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
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=umzkxs3a9.fsf@jasonrumney.net \
--to=jasonr@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).