Bug 379494

Summary: Konsole renders font in incorrect width on startup
Product: [Applications] konsole Reporter: Grief <iamgrief>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: iamgrief, m_105
Priority: NOR    
Version: 17.04.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Grief 2017-05-04 00:46:41 UTC
When I use konsole (or yakuake) when the app started, fonts are rendered very wide, but if I set the font to the exact same font in konsole settings - it starts to be rendered correctly until the restart. The issue didn't appear in version 15.12.3 for sure. 

I recorded a small video to demonstrate the issue: https://www.youtube.com/watch?v=psAeKRFxXv4

The font I am using is Input, it can be downloaded here http://input.fontbureau.com/preview/

I am experiencing the issue not with every font, but I really like this one and don't want to change it to ubuntu mono or something. Konsole is the only app in the system (including other KDE apps) which renders it wrong.
Comment 1 Christoph Feck 2017-05-04 12:38:58 UTC
From testing that site, it looks like "Mono" and "Sans" are swapped, so you probably downloaded a non-monospaced font.
Comment 2 Grief 2017-05-04 13:16:48 UTC
(In reply to Christoph Feck from comment #1)
> From testing that site, it looks like "Mono" and "Sans" are swapped, so you
> probably downloaded a non-monospaced font.

I dobt it - sans doesn't look monospace while mono does. Again, it only reproducible in konsole/yakuake, I use that font everywhere in the system.

Also, sans doesn't even appear in the list of available fonts in konsole.

And I'd like to add that 'Input Mono' - is ok. I just noticed it while trying different Input font styles. The issue appears only With Input Condensed, Compressed, Narrow etc.
Comment 3 Ian Schwarz 2017-05-04 13:37:02 UTC
I'm struggling with a similar problem--can you post your output of
cat ~/.config/kdeglobals | grep font=
?
Comment 4 Grief 2017-05-04 13:38:09 UTC
>cat ~/.config/kdeglobals | grep font=
font=Noto Sans,10,-1,5,50,0,0,0,0,0
>

Not sure it's relevant though
Comment 5 Kurt Hindenburg 2017-06-07 14:33:15 UTC
Yes something strange w/ these fonts and/or Konsole

1. Set profile to use Input Mono Compressed Thin
2. Restart Konsole
3. Konsole now uses Input Mono Compressed Light - text is way too wide
4. Manually changing font correct width issue
Comment 6 Grief 2018-10-11 17:50:46 UTC
I've completely forgotten to close this ticket, sorry. Not sure why, but this issue is not reproducing anymore for a long time.