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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/689349
Title:
[Upstream] Draw file exported to PDF have erroneous pixel-sized dots
in Acroread, not in Evince
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/689349/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs