Apache OpenOffice (AOO) Bugzilla – Issue 58366
rounding issues with text positions in PDF export
Last modified: 2005-11-28 08:16:40 UTC
I am attaching a short document with a single sentence. The word 2100 has the two last zeros in superscript. The two zeros have wrong position in the exported PDF. I have this problem with OO-dev 139 on Windows but in OO 2.0.0 on Linux everything is OK.
Created attachment 31747 [details] Here you can find the mentioned 2100 with 00 in superscript
Created attachment 31748 [details] Here you can see the problem
when I export the odt as pdf in OOo-dev 2.0.139 the superscript 00 is at the correct position.
In my exported PDF, the first zero in superscript is intersecting the previous character '1' Older version are putting some space between those two characters, so they are not intersecting. The behavior I described is correct? Please can you post the PDF exported by your 139, I would like to compare the results.
Created attachment 31765 [details] a screenshot the problem
I can reproduce it with a 680m142, but not with a 680m135...
ssa->hdu: please take over.
Isolated it to the changes for pdfwriter_impl.*xx in CWS vcl42. Looks like the old "accummulated advance width" rounding error. HDU->PL: please take over
Created attachment 31778 [details] hotfix to solve this problem
Superscript is only the tip of the iceberg; e.g. justified text is totally botched. This broke with my fix for issue 49748 which makes rounding for lines better but for text equally worse. The best solution for 2.0.1 would be to back out the fix for 49748 since it is a much smaller problem and fix that one for 2.0.2.
fixed in CWS src680m142masterfix
pl->us: please verify in new m142 master re-open issue and reassign to us@openoffice.org
reassign to us@openoffice.org
reset resolution to FIXED
Verified in m142 latest.
closing fixed/verified issue.