Created attachment 108028 [details] 2 PNGs showing the same cheat sheet correctly and incorrectly, plus both PDFs While trying to answer http://ask.libreoffice.org/en/question/41291/how-to-delete-pdf-pages-using-writer/ I found out that LO has always reproducible incomplete PDF export -and- import support, making the imported PDF look too messed up to be useful, and showing up as messed up as after importing, confirmed by Foxit Reader. Attached XZ-compressed (LZMA2) TAR file. On Window$ need 7-Zip >=9.22 Beta. Linux needs xz-utils >=5.0.0 (could work with older, I can't test).
Hi Jouni, Thanks for your report. I think that the export is incomplete, due to the fact that the import is incomplete, yes? I see the sheet has lost of Algebra characters. I guess it been like this since OOo. Set to new Regards, Cor
Both import and export, at least in the case of that algebra, is incomplete/broken.
Yes, you're right it's an issue with algebra, cuz these PDFs I created by using Foxit Reader's print-into-PDF plugin all show up correctly. However, http://www.tldp.org/LDP/intro-linux/intro-linux.pdf doesn't show up correctly, one reason being Draw using different font from the one used by the file. Btw, the attachment is showing up as 'text/plain', but it's a .tar.xz, no clue about the MIME type.
I think this should be another component
and maybe it is related to bug 84584, where also special font rendering is not good
Displacement of characters fixed here: https://gerrit.libreoffice.org/14029 Empty rectangles instead of brackets - is another issue - problems with Symbol font.
Vort committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7818c73445ad8e08e7ee51e2cc3a4b4d5a798ac4 fdo#85174 PDF Import: fix character positions It will be available in 4.5.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.
should the poppler patch also go upstream to poppler ? (esp as distros build against system poppler typically)
Comment on attachment 108028 [details] 2 PNGs showing the same cheat sheet correctly and incorrectly, plus both PDFs Sorry for the noise. MIME type was wrong.
This change in poppler is specific to LibreOffice PDF import plugin. Plugin needs some different input data, than default poppler provides.
I understood the problem. I will try to revert +getCharSpace change without poppler hacking.
Second try: https://gerrit.libreoffice.org/14066
Vort committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=df54862ec61c81a39b7ccfadc292b5bf859f45fa fdo#85174 PDF Import: fix character positions without modifying poppler It will be available in 4.5.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.
My bad, this report slipped from my fingers. Tested fixed in 4.4.5, the last 4.x portable version. 5.0.2 RC1 never loads the intro-linux.pdf, but that's another issue.