With following process to post-process the crappy 1-pixel stuff
generated by LO, I was able to get a relatively clean PDF (Fonts are not
exported as fonts, but that is another topic):
Save the file/export to EPS format.
The EPS is pretty readable, so I remove the lines with the dots with the
following awk script:
---8<---fixodg2pdf.awk--------
#!/usr/bin/awk -f
# points (pc?) with the lr/ul corner being teh same
{if (($1==$4) && ($2==$5))
{next;}
}
{print}
---8<-------------------------
(save and chmod a+x fixodg2pdf)
use it like
./fixodg2pdf.awk exported.eps > fixed.eps
Then use gv to open it and save as PDF.
There were issues with the bounding box for me with other tools, so the last
step may be up to your preferred tool.
Please, can somebody fix the exports of LO? This makes the whole drawing
part of LO pretty unusable.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to openoffice.org in Ubuntu.
https://bugs.launchpad.net/bugs/689349
Title:
[Upstream] Draw file exported to PDF have erroneous pixel-sized dots
in Acroread, not in Evince
Status in LibreOffice Productivity Suite:
Confirmed
Status in “libreoffice” package in Ubuntu:
Triaged
Status in “openoffice.org” package in Ubuntu:
Won't Fix
Bug description:
Binary package hint: openoffice.org
Binary package hint: libreoffice
1) lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
2) apt-cache policy libreoffice-draw
libreoffice-draw:
Installed: 1:3.6.2~rc2-0ubuntu4
Candidate: 1:3.6.2~rc2-0ubuntu4
Version table:
*** 1:3.6.2~rc2-0ubuntu4 0
900 http://archive.ubuntu.com/ubuntu/ quantal-updates/main i386
Packages
400 http://archive.ubuntu.com/ubuntu/ quantal-proposed/main i386
Packages
100 /var/lib/dpkg/status
1:3.6.2~rc2-0ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
apt-cache policy acroread
acroread:
Installed: 9.5.1-1precise1
Candidate: 9.5.1-1precise1
Version table:
*** 9.5.1-1precise1 0
100 /var/lib/dpkg/status
apt-cache policy evince
evince:
Installed: 3.6.0-0ubuntu2
Candidate: 3.6.0-0ubuntu2
Version table:
*** 3.6.0-0ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
100 /var/lib/dpkg/status
3) What is expected to happen is when one performs at the Terminal:
cd ~/Desktop && wget
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/689349/+attachment/1763870/+files/classnetwork.odg
&& unoconv --listener && unoconv -f pdf classnetwork.odg && acroread
classnetwork.pdf
is it looks as it does in Evince.
4) What happens instead is acroread displays erroneous pixel-sized
dots as per screenshot
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/689349/+attachment/1763844/+files/garbagescreenshot.png
, while evince does not.
First reproduced in Maverick 1:3.3.1-1ubuntu3~maverick1, and
reproduced in Natty, and Precise.
Unconfirmed OOo WORKAROUND: The upstream version does _not_ produce
these effects and is fine.
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
CheckboxSubmission: 30b6638832e19720cfe8f7a91e5798a4
CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e
DistroRelease: Ubuntu 12.10
InstallationDate: Installed on 2012-06-11 (164 days ago)
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha i386 (20120131.1)
MarkForUpload: True
Package: libreoffice 1:3.6.2~rc2-0ubuntu4
PackageArchitecture: i386
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Tags: quantal
Uname: Linux 3.5.0-17-generic i686
UpgradeStatus: Upgraded to quantal on 2012-09-14 (68 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/689349/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp