src/rxvtfont.C ascent/descent and g.xOff patch

clutton clutton at zoho.com
Fri Jan 24 17:35:55 CET 2014


On Wed, 2014-01-22 at 17:29 +0100, Marc Lehmann wrote:
> On Tue, Jan 21, 2014 at 02:39:26PM +0200, clutton <clutton at zoho.com> wrote:
> > As a new rxvt user, I may think that enormous width means something
> > wrong with rxvt rendering.
> 
> And something is wrong: the font chosen - the fonts that are chosen by
> urxvt by default do not show thisa problem (or that is a bug in the
> default font selection).
> 
> > Because other software displays that font correctly.
> 
> For some unstated definition of "correctly" that probably only includes
> latin glyphs.
> 
> > Furthermore, all software displays that font correctly.
> 
> (That really makes no sense).
> 
> > So, what is the official answer? Don't use bad fonts?
> 
> Dont ever use bad fonts, obviously, but the problem here is not a bad
> font, but simply an unsuitable one. Proportional fonts are not suitable
> for terminals, which require a fixed width font. Unfortunately, xft only
> supports proportional fonts, so urxvt has to compromise.
> 
> (See my reply to your private mail for more details).
> 
> > «The solution is to upgrade your system or switch to a better one»
> > doesn't look like a right answer for my question.
> 
> What is your question? "How can I make a proprtional font look good in a
> terminal?" - I don't think anybody has an answer to that.
> 

every terminal emulator I'd used shows proportional fonts in appropriate
manner, except urxvt.

The question rather is «why FAQ doesn't have explanation, to what I'm
observing».

Arch Linux already has patched version in aur.
https://wiki.archlinux.org/index.php/Rxvt-unicode#Installation
And we were thinking to include this patch into urxvt FreeBSD port as an
optional feature
http://www.freebsd.org/cgi/query-pr.cgi?pr=185656

But, ok. Speak is cheap, show me the code :). I'll try to do some
codding help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: This is a digitally signed message part
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20140124/b5a18899/attachment.sig>


More information about the rxvt-unicode mailing list