With gv you cannot save to pdf (it will be eps), so I took this bash shell
script with a gs command. You might want to crop the pdf to the bounding box
afterwards with pdfcrop
(http://www.ctan.org/tex-archive/support/pdfcrop), which comes with latex (also
uses gs, so it could be integrated somehow, but did not check that in detail).
--------8<---- eps2pdf.sh ----------
#!/bin/bash
#debug
#set -x
if [ -z "$1" ] ; then
echo "usage: $0 infile.eps [outfile.pdf] [papersize (default: a3)]"
exit 1
fi
if [ -z "$2" ] ; then
pdfoutfile="$1".pdf
else
pdfoutfile="$2"
fi
if [ -z "$3" ] ; then
dpapersize="a3"
else
dpapersize="$3"
fi
# the following all in one line
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH
-dSubsetFonts=true -dEmbedAllFonts=true -dPDFSETTINGS=/prepress
-sPAPERSIZE="$dpapersize" -sOutputFile="$pdfoutfile" "$1"
--------8<---- eps2pdf.sh ----------
--
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