[Top][All Lists]
[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: |
Mon, 16 Apr 2012 14:27:40 +0900 |
黄建忠 <address@hidden> writes:
> Would you please provide some example characters and such a font to
> help us make it better?
Here's an example from my (Debian) system; the font I chose in Emacs
is "Droid Sans Mono"; the "x11 size" is 13 [which isn't exactly the
size chosen in the UI; fontconfig sizes and X font sizes seem to be
only loosely related... :( ]
I set the font to "Droid Sans Mono", and the Japanese font Emacs
automatically chose was "きろ字". I don't know _why_ Emacs chose that
font, as other apps don't seem to -- If I select Droid S M in GTK
apps, for instance, they use something much better looking, probably
"Droid Fallback" (which is a matching font for Droid S M).
I've attached an image file showing what this looks like on my
computer.
The things I notice:
(1) The font chosen by Emacs for Japanese might be a bit odd, and
doesn't seem to match what other apps choose.
(2) The "きろ字" font is already pretty widely spaced, maybe near
the limit of readability IMO.
(3) It looks like forcing CJK alignment to 2*ASCII will increase the
width of characters in this font by about 30%. Given the already
very wide spacing, I think the result might look funny.
[ (4) If I grow or shrink the font-size, the ASCII and Japanese grow
by different, and varying amounts (that is, there are obvious
"jumps" in the size increases, and the jumps occur at different
places for the ASCII font and the Japanese font); my guess is that
this is probably due to rounding by the font renderer. So there
will be. ]
Now that I think about it, I'd say that the problem seems to lie more
with Emacs' choice of fonts for Japanese (both the funny automatic
choice, and the lack of good methods for users to tweak it).
Thanks,
-Miles
align-dsm13.png
Description: CJK / ASCII character alignment with Droid Sans Mono
--
古池や 蛙飛び込む 水の音 [松尾芭蕉]
- Re: A patch for enforcing double-width CJK character display, (continued)
- Re: A patch for enforcing double-width CJK character display, Eli Zaretskii, 2012/04/12
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/12
- Re: A patch for enforcing double-width CJK character display, Stefan Monnier, 2012/04/12
- Message not available
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/13
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/13
- Message not available
- Re: A patch for enforcing double-width CJK character display, Stefan Monnier, 2012/04/13
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/15
- Re: A patch for enforcing double-width CJK character display, William Xu, 2012/04/15
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/15
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/15
- Re: A patch for enforcing double-width CJK character display,
Miles Bader <=
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, 黄建忠, 2012/04/16
- Re: A patch for enforcing double-width CJK character display, Miles Bader, 2012/04/17