Bug 115874 - On Style dialog's Organizer tab, non-integer font size is shown rounded to integer
Summary: On Style dialog's Organizer tab, non-integer font size is shown rounded to in...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:6.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 10:17 UTC by Mike Kaganski
Modified: 2018-02-20 14:27 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2018-02-20 10:17:52 UTC
In any module (Writer, Calc, ...), the Organizer tab of a Style dialog (e.g., Paragraph/Character in Writer) shows font sizes as whole pts, regardless of if actual size is whole or not.

To reproduce, open a Style dialog, and set a font size to 10,5 pt, then look at the "Contains" string on Organizer tab. It will show "11 pt", not "10,5 pt".
Comment 1 Mike Kaganski 2018-02-20 10:30:41 UTC
https://gerrit.libreoffice.org/50033
Comment 2 Commit Notification 2018-02-20 12:24:14 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3fcf374de426102da36f5b07fda5b0534de62233

tdf#115874: show non-zero fraction part for pts

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.