[Konsole-devel] [Bug 280896] Some fonts get chopped with Qt 4.8

Lars Doelle lars.doelle at on-line.de
Sat Jun 2 16:35:04 UTC 2012


> --- Comment #43 from Kurt V. Hindenburg <kurt.hindenburg at gmail.com> ---
> Git commit bf3e57e94b54c1c4337d7960e0fda0ef98156451 by Kurt Hindenburg.
> Committed on 31/03/2012 at 02:55.

Applying the patch on konsole-4.7.4 (debian unstable) i can report
it makes the konsole usable again with pcf fonts, but still the rendering
has a wrong idea about the font metric.

Visually guessing, two extra pixels are added to the ascent.

In undecorated fullscreen mode, i get

$ stty size
66 239

while on the linux console with the same resolution i have

# stty size
75 240

Note that this is (basically) the same font (console8x16.pcf.gz
and the linux console font) having an 8/16 geometry, meaning
9 lines and one columns are lost.

# fbset
                                                                                                                                                                                                                                               
mode "1920x1200"
    geometry 1920 1200 1920 1200 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

Thus 1200/16=75 and 1920/8 = 240.

The konsole underestimates the size of the screen due to an older glitch
in the size calculation perhaps not taking the frame into account, so it
would "normally" (i.e. without the current problem) show

$ stty size
74 239

Thus (1200-1)/(16+2) gives 66.61.. confirming my visual guess.

Please let me know if i can help along further.

-lars


> --- Comment #43 from Kurt V. Hindenburg <kurt.hindenburg at gmail.com> ---
> Git commit bf3e57e94b54c1c4337d7960e0fda0ef98156451 by Kurt Hindenburg.
> Committed on 31/03/2012 at 02:55.
> Pushed by hindenburg into branch 'KDE/4.8'.
> 
> A quick fix to get fonts to look OK w/ Qt4.8 and bidi off

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120602/c6e4a9b1/attachment.html>


More information about the konsole-devel mailing list