[Bug: 21.5-b24] With Xft enabled, tabs are misrendered

Daniel Pittman daniel at rimspace.net
Thu Jan 12 01:26:10 EST 2006


bos at serpentine.com writes:

> I'm trying to use 21.5-b24 on an x86_64 Linux box running FC4.  I
> compiled with Xft enabled, but tabs are quite screwy, so code that
> contains tabs looks terrible.  As per usual on a Unix box, I expect
> them to be 8 spaces wide with a monospace font.
>
> Here is an illustration of where my tab stops show up.  The first line
> below shows counters.  The second shows where each tab is.  The last
> uses spaces to illustrate where the tabs are actually displayed.  The
> correspondence is not accurate, as XEmacs is losing less than one
> space-size per tab stop.
>
> 1234567812345678123456781234567812345678123456781234567812
> 	c	c	c	c	c	c	c	c
>        |      |      |      |      |      |      |       |
>
> Another manifestation of this problem is that when I resize my window,
> it is reported as containing quite a few more columns than it actually
> has.  In other words, when X thinks I have 80 columns, I have more
> like 70.

This sounds to me like your font is either incorrectly claiming to be
monospace but, in fact, isn't, or your font is not getting picked up and
used.

In my X defaults, I have:

XEmacs.default.attributeFont: Bitstream Vera Sans Mono-15

For me, on a similar platform (Debian, but otherwise similar software),
tabs (and other spacing) work as expected.

Regards,
        Daniel




More information about the XEmacs-Beta mailing list