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: James Cloos
Subject: Re: A patch for enforcing double-width CJK character display
Date: Tue, 17 Apr 2012 05:07:44 -0400
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

>>>>> "MB" == Miles Bader <address@hidden> writes:

MB> p.s. "size" here is what Emacs "C-u C-x =" reports, which is _not_ the
MB> same as the sizes used in the Emacs font dialog... [kinda annoying, that...]

If that means the size in the XLFD-ish string after "display: by this
font" in the C-u C-x = buffer, that looks to be the pixelheight.

(In my case I get:

    xft:-unknown-WenQuanYi Zen 
Hei-normal-normal-normal-*-21-*-*-*-*-0-iso10646-1 (#x7390)

for the first character in the CC header above.)

The font dialog probably wants the point size.

Things would be easier were Emacs to drop the XLFD-style strings
for xft: and/or fc: prefixed fonts and use fontconfig patterns.

The XLFD-style strings only should be used for actual XLFDs for
X11 server-side fonts.

-JimC
-- 
James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6



reply via email to

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