Apache OpenOffice (AOO) Bugzilla – Issue 53411
PDF export has rounding issues with coordinates
Last modified: 2006-09-06 13:58:06 UTC
currently all coordinates are recalculated by hand and emitted as fixed point format in PDF export. If we used a matrix here instead we would save us a lot of rounding issues and let the reader application do the grunt work here.
see issue 49748 for example: 1. Create new spreadsheet 2. Apply 2x2 cells with standard thickness border line 3. export to PDF 4. open PDF an see various line widths
accepting
set target
*** Issue 63962 has been marked as a duplicate of this issue. ***
target; need to address this sooner than 3.0 since there are quite some related problems and some more ugly workarounds in the code now.
"fixed" in CWS pdf03 However due to acrobat readers implementation limits (see appendix C in PDF reference, specifically the use of 32bit fixed real numbers), the idea to write integer values and let the reader transform them by the matrix cannot be implemented. This in fact is a major problem since it severely limits the use of the CTM. So in effect i cannot change much, i can only attemp to minimize the rounding issues by inventing as few of them as possible during generation - in effect I changed the virtual resolution of the PDF reference device to 720 dpi so that 1 "pixel" is exactly one tenth user space unit. With the architectural limits involved in acrobat reader itself and our own technique of implementing DrawTextArray it won't get any better. The border issue described in issue 49748 cannot be really fixed anyway; calc would have to draw a polyline with linewidth here instead of the currently used four rectangles for a border; this is a rasterizing effect.
Note: see issue 61324, nn decided that the change to thick lines "cannot be done"
please verify in CWS pdf04; for verification please note also the samples in the duplicate issues. However as i said in earlier comments the problem has not completely vanished but it won't get any better currently.
please verify in CWS pdf03
*** Issue 59856 has been marked as a duplicate of this issue. ***
found fixed on cws pdf03 using Linux, Solaris and Windows build
*** Issue 65928 has been marked as a duplicate of this issue. ***
found integrated on master m176 using Solaris, Linux and Windows
*** Issue 68889 has been marked as a duplicate of this issue. ***