Subject: Emacs still have font spacing problem

From: Naohiro Aota <[email-masked]>
Date: Sat, 26 Jun 2010 02:10:33 +0900 (JST)

Hi, list

As I post last year [1], Emacs still doesn't deal with fonts whose
spacing is set to FC_DUAL. Please see this screen-shot I've sent last
year [2]. You see disgusting Elisp indentation, don't you?

This is all because Emacs assume "space width" is as same as "font max
width" only just if the font is not "PROPORTIONAL". Some Japanese are
using "DUAL" fonts (M+ font, IPA font and so on). These fonts have
"glyphs in precisely two widths, one twice as wide as the other" [3],
Emacs shouldn't use "max width" for "min width" and "space width" when
there is two kinds of width!

Please please think applying the patch.

Regards,

[1] http://article.gmane.org/gmane.emacs.devel/111557/
[2] http://article.gmane.org/gmane.emacs.devel/111572/
[3] http://fontconfig.org/fontconfig-devel/fcfreetypecharsetandspacing.html