Liberation Mono 10,2 points is rendered way wider in kate/kwrite Reproducible: Always Steps to Reproduce: 1. Set xft dpi to 96 2. Select Liberation Mono 10,2 in kwrite and konsole (for kwrite you have to edit the value manually as seen in the attached screenshot,. (probably a different bug) Actual Results: See that the text in kwrite is wider. Expected Results: To have the font rendered in the very same way.
Created attachment 101468 [details] screenshot Kwrite on top, konsole on bottom, very same font and size, rendered differently.
That's intentional. Konsole uses a character cell grid, forcing every character on a pixel boundary (QFont::ForceIntegerMetrics). KWrite is able to use non-monospaced fonts, and can therefore place characters on subpixel resolution.
Thanks for the explaination, but wouldn't be more uniform/consistent to use the same setting (QFont::ForceIntegerMetrics) when kwrite is using monospaced fonts? As a side note, the same happens on the fonts kcm module when selecting the fixed width font (here, there is way to select a proportional font)
Sorry, typo: As a side note, the same happens on the fonts kcm module when selecting the fixed width font (here, there is *NO* way to select a proportional font)
No, ForceIntegerMetrics is a hack for applications that need to render glyphs at exact integer positions, and is actually not related to monospaced fonts. If you want consistency, ask Konsole developers to support fractional glyph positioning.
Ok, thanks for the detailed explaination (again!)