[Libreoffice-bugs] [Bug 144279] Exporting a selected shape of 7x7 to any image format shows size of 7, 01 cm when changing DPI to Dots per CM & increase it from 37 to 38 and back, size becomes 7, 16 cm

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 3 12:14:15 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144279

Telesto <telesto at surfxs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
                 CC|                            |heiko.tietze at documentfounda
                   |                            |tion.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #8 from Telesto <telesto at surfxs.nl> ---
(In reply to Mike Kaganski from comment #7)
> You see that 96 pixels per inch doesn't mean some "round" number of pixels
> per cm: 96 PPI = 37.7952755905512... pixels per cm. When you switch from in
> to cm in the resolution, the control shows a rounded (down) value, but
> internally the resolution is still exactly 96 PPI - which is *correct*,
> because user might need just to check some different units without actually
> change the resolution. However, when user starts to *modify* the resolution
> using the new units, the new value is the integral number of pixels per unit
> - and when you select 37 again, it is true 37 pixels per cm, not the initial
> 37.7952755905512... which you started with. Hence the difference in the size
> - which is again OK.

Sorry, for me needing such an expansive answer; mea culpa

The dialog would be more self-explanatory if the spinbox did show some digits
after the comma (Corel Paintshop has 3). This would explain the result by
itself. And make it possible to input stuff behind the comma. If you touch the
spinbox you lose the Dots per CM equivalent of say 96 DPI and you can't go
back.. Yes, switching to DPI and go back to CM..  

Note: personally I dislike using pixels per cm, so not something affecting me
per se..

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210903/6d90f2c3/attachment.htm>


More information about the Libreoffice-bugs mailing list