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: Miles Bader
Subject: Re: A patch for enforcing double-width CJK character display
Date: Sun, 15 Apr 2012 14:10:10 +0900

Stefan Monnier <address@hidden> writes:
>> Here is a problem the patch fixed, generally The pixel width of
>> auto-matched CJK font is not exactly equals to double monospace font
>> width. mostly, For same font size, the pixel width of CJK font is
>> smaller than double pixel width of monospace font.
>
> Ah, I see, thanks.  I probably won't benefit much from it, but it seems
> like a good feature to have.

BTW, I hope there's a way to disable or tune this... Some CJK fonts seem
to be very small (when rendered at the same size as other characters),
and I think forcing them to be spaced with 2 * the width of the default
font would make CJK characters look weird, with tons of whitespace in
between each character....

Part of the problem, of course, is that it's somewhat difficult / clunky
for the user to customize which fonts get used for different character
sets.  There's `set-fontset-font', but I've found it to be sort of hard
to control, as there doesn't seem to be any way of controlling its
interaction with faces...

[Is there a better way?]

Thanks,

-miles

-- 
"Don't just question authority,
Don't forget to question me."
-- Jello Biafra



reply via email to

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