[Libreoffice-bugs] [Bug 103682] PDF export A4, A5 paper size is imprecise

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 7 00:31:12 UTC 2018


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

--- Comment #9 from Aron Budea <baron at caesar.elte.hu> ---
There's a -0.01 mm difference in size in the PDF exporter code, which could be
reliably eliminated, however then in some cases (Writer and Calc) there'd be a
0.01 mm difference because of conversion.

I debugged the Calc case, and the page size is coming from twips (probably also
converted from mm at the start, as the fixed page sizes are given in their
standard unit, then converted to 1/100 mm units for better accuracy):
11906 twips -> 210.01 mm

Unfortunately if it was stored as 11905 twips, that'd be converted to 209.99
mm, which would also be off.

Interestingly Draw doesn't seem to be affected by this, no idea why.

-- 
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/20180707/7ae16d52/attachment.html>


More information about the Libreoffice-bugs mailing list