You are not logged in.
I use the Inconsolata font with urxvt and have noticed that some characters are displayed improperly. For example, an "en dash" (U+2013) appears as a capital N with a tilde over it. It appears that this is because Inconsolata doesn't support anything other than the basic latin characters. Is there any way to allow urxvt to "fall back" on another font for rendering those specific characters?
Last edited by aclindsa (2012-03-16 16:42:35)
Offline
The FAQ should help.
Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.
Offline
Unfortunately, the "-fn" switch (or *font: in .Xresources) does not seem to work properly with Inconsolata. For example, if I do the following:
urxvt -fn "xft:Terminus"
The characters display properly, but if I add Inconsolata ahead of that, like so:
urxvt -fn "xft:Inconsolata,xft:Terminus"
I get the garbage characters. I have experimented with different "fallback" fonts in all different orders, sizes, etc. and whenever Inconsolata is first, I see the garbage chars. The more I look into it, the more it looks like the wrong characters are being reported to urxvt for Inconsolata.
Offline
Upgrading Inconsolata did the trick. I suppose somehow it *was* reporting the wrong characters. Too bad the new version seems to be spaced wider... I liked the spacing on the old one better.
Offline
man urxvt | less -p letterSpace
Offline
Hmm, I didn't know about that option. Thanks! Unfortunately, it doesn't seem to allow decimal values, and -1 tightens up the spacing too much for my tastes.
Offline