[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: qt3 -> qt4: changed font metrics handling (seen in konsole)
From:       Melchior FRANZ <melchior.franz () gmail ! com>
Date:       2009-01-28 16:34:49
Message-ID: 200901281734.49708 () rk-nord ! at
[Download RAW message or body]

* Thomas Lübking -- Wednesday 28 January 2009:
> according to the QFontMetrics doc, the 1px add to the height is for the 
> baseline and thus apparently intended. (see height() description)

Oh, indeed. I had looked at that page, but somehow missed this piece
of information. Isn't that a bit patronizing, to force an interline
height of 1px on me? Shouldn't this go to the leading() component
instead? (with a way to change it? :-)

Anyway, as a bug report doesn't seem very promising under these
circumstances, I just hacked my konsole instead, and set a
_lineSpacing of -2. Problem "solved". (Yes, it's a disgusting
hack, but I don't ever change the font. :-)

m.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic