Bug 346207

Summary: Some fonts renders incorrectly
Product: [Applications] konsole Reporter: Alexey <swexru>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cullmann, jeanmichael.celerier, kuu.tya61, le.trmr, martin.sandsmark, rdieter
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
URL: https://www.imageupload.co.uk/images/2015/04/15/issue_example2.png
Latest Commit: Version Fixed In:
Attachments: picture showing the bug
Problem with KDevelop.
No problem with QtCreator.

Description Alexey 2015-04-15 07:15:10 UTC
I'd like to use my favourite Anonymous Pro bold font for Konsole, in kde4 everything was good. But in kde5 I see that this font renders incorrectly in Konsole. 

Reproducible: Always

Steps to Reproduce:
1. Set Anonymous Pro font, font size matters, it must render in native size, eq 10 on 96dpi.


Actual Results:  
Konsole cuts font height.

Expected Results:  
Fine font rendering
Comment 1 Jozsef Laz 2015-05-04 21:19:43 UTC
I can confirm this bug with Anonymous Pro font. It appeared approximately at the end of march or beginning of april (in Arch repository). Only the upper half of the characters are visible.
Font size matters, because these font sizes are good: 7, 11, 12, 13, ...
Font sizes which behave badly: 8, 9, 10.
Comment 2 Jozsef Laz 2015-05-04 21:26:27 UTC
Created attachment 92424 [details]
picture showing the bug

This is what we can see with Anonymous Pro font (size 10).
Comment 3 Martin Sandsmark 2015-06-21 14:06:44 UTC
this looks very similar to bug #342188
Comment 4 le.trmr 2015-09-25 09:56:15 UTC
The same behaviour is present in Kate.
As the fonts author points out, this could be connected to wrong handling of embedded bitmaps. (http://www.marksimonson.com/info/anonymous-pro-usage-notes)
Comment 5 Christoph Cullmann 2015-10-08 14:07:56 UTC
Hi, for me, with Qt 5.5 + KDE Frameworks 15.14 it works.
Even if you can reproduce this, please report it upstream to Qt, we can't fix the font handling there, we rely on Qt to do it right.
Tried on current arch here.
Comment 6 Jean-Michaël Celerier 2015-11-17 19:55:57 UTC
Created attachment 95569 [details]
Problem with KDevelop.
Comment 7 Jean-Michaël Celerier 2015-11-17 19:56:15 UTC
Created attachment 95570 [details]
No problem with QtCreator.
Comment 8 Jean-Michaël Celerier 2015-11-17 19:57:02 UTC
I added two attachments that show the problem occuring with KDevelop but not with QtCreator (they were both built against the same Qt libraries on my computer).