emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A patch for enforcing double-width CJK character display


From: Kan-Ru Chen
Subject: Re: A patch for enforcing double-width CJK character display
Date: Wed, 11 Apr 2012 23:48:56 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

[ CC:ed emacs-devel ]

Hi!

黄建忠 <address@hidden> writes:

> Here is a patch to fix double-width issue of CJK fonts when use Xft
> backend , just like some terminal did.

I like you idea to draw glyphs individually when the font is a CJK font.
I didn't realized that when the font changes, XftDrawGlyphs is called
again so we have a chance to examine the font!

Your patch probably needs some adjust to fit the coding style, but the
approach is great! Did you check that it also works with scaled fonts?
Like (text-scale-increase) multiple times.

  Kanru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]