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

Re: U+2026 HORIZONTAL ELLIPSIS … is messing up table columns in emacs-w3m

In [emacs-w3m : No.12279] jidanni@xxxxxxxxxxx wrote:
> U+2026 HORIZONTAL ELLIPSIS  is messing up table column spacing in
> emacs-w3m but is fine in w3m.

I'm not familiar with the way how Emacs chooses a font for
a certain character according to the language environment.
In my system (now it's Cygwin), it normally chooses the font
below for the character "".


(To see the font name, do `C-u C-x =' on the character.)

It's a wide character.  However, in `emacs -Q', it chooses:

-bitstream-Bitstream Vera Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1

It's the same width as alphanumeric characters, not a wide

If you want to change the font for only certain character(s),
a way I only know is:

 (face-attribute 'default :fontset)
 '(?\x2026 . ?\x2026)
 "-bitstream-Bitstream Vera Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1")

Note that the second arg of `set-fontset-font' allows a range of
characters; see the docstring.