all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sun Yijiang <sunyijiang@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [Bug] Unusual wide Chinese fonts on w32 (again)
Date: Mon, 31 Oct 2005 14:34:23 +0800	[thread overview]
Message-ID: <5065e2900510302234u20f82d13x@mail.gmail.com> (raw)
In-Reply-To: <umzkxs3a9.fsf@jasonrumney.net>


[-- Attachment #1.1: Type: text/plain, Size: 987 bytes --]

I made a cvs update and a w32 build, the bug seems gone. I'm using
create-fontset-from-ascii-font and chinese characters with font-lock on,
everything seems OK.

2005/10/26, Jason Rumney <jasonr@gnu.org>:
>
> 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.
>

[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2005-10-31  6:34 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
2005-10-31  6:34   ` Sun Yijiang [this message]
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

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

  git send-email \
    --in-reply-to=5065e2900510302234u20f82d13x@mail.gmail.com \
    --to=sunyijiang@gmail.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.