Bug 370628 - Allow to chose fractional font sizes
Summary: Allow to chose fractional font sizes
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: 5.6.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 383938 398304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-13 08:34 UTC by Antonio Orefice
Modified: 2018-09-06 03:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Orefice 2016-10-13 08:34:40 UTC
When the font dialog appears, it is not possible to use a decimal value for the font size.



Reproducible: Always

Steps to Reproduce:
1. open system settings
2. select a font
3. select size 10
4. edit the size field and write 10.2

Actual Results:  
Font is rendered at 102 points

Expected Results:  
Font is rendered at 10.2 points

manually editing kdeglobals, from:
fixed=Liberation Mono,102,-1,5,50,0,0,0,0,0
to:
fixed=Liberation Mono,10.2,-1,5,50,0,0,0,0,0

..does indeed works

As a side note, the same applies to other components too, like konsole, while kwrite/kate seems fine.
Comment 1 Christoph Feck 2016-10-14 00:12:52 UTC
We once added that for the KFontDialog, see bug 122618.

Now that we no longer use this class, but use QFontDialog, please report this issue to Qt developers via https://bugreports.qt.io/
Comment 2 Antonio Orefice 2016-10-14 14:29:17 UTC
Thanks, done:
https://bugreports.qt.io/browse/QTBUG-56547
Comment 3 Christoph Feck 2017-08-24 21:08:08 UTC
*** Bug 383938 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2018-09-06 03:40:04 UTC
*** Bug 398304 has been marked as a duplicate of this bug. ***