Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114171 - openoffice-2 doesn't print eps files into pdf properly
Summary: openoffice-2 doesn't print eps files into pdf properly
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 10:43 UTC by Peter Fox
Modified: 2005-12-02 01:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2005-12-01 10:43:25 UTC
The pdf contains the descriptive text of the eps file, not the actual eps file
figure.

Reproducible: Always
Steps to Reproduce:
1. Insert eps picture diagram into swriter document
2. Export pdf
3. View pdf

Actual Results:  
pdf display box with eps file details

Expected Results:  
pdf should show the eps file contents, ie diagram

This looks like a long-standing bug, with openoffice itself.

I did the same operation with openoffice-1.1.0 a while ago, and it was ok then
(From the correct pdf: 
/Producer(GNU Ghostscript 7.05)
/Creator(OpenOffice.org 1.1.0)
/Author(fox)
/CreationDate(Sun Apr 18 20:32:49 2004))

The equivalent bit of the pdf file from the bad pdf (OpenOffice.org 2.0) are:
/Author<FEFF0050006500740065007200200046006F0078>
/Creator<FEFF005700720069007400650072>
/Producer<FEFF004F00700065006E004F00660066006900630065002E006F0072006700200032002E0030>
/CreationDate(D:20051201183325Z'

See also
http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=252279
http://qa.openoffice.org/issues/show_bug.cgi?id=14163

emerge -pv openoffice:
[ebuild   R   ] app-office/openoffice-2.0.0  +curl +eds +gnome +gtk +java -kde
-ldap +mozilla -nas +xml2 +zlib 0 kB
emerge -pv ghostscript
[ebuild   R   ] app-text/ghostscript-7.07.1-r8  +X -cjk +cups -emacs +gtk 0 kB


emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -O3 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/home/gentoo/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://peter/pub http://distfiles.gentoo.org"
LANG="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/gentoo/portage"
SYNC="rsync://peter/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr
crypt cups curl doc dts dvdr eds emboss encode esd exif expat fam ffmpeg firefox
flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib java jpeg lcms libcaca
libg++ libwww lynxkeymap mad mhash mikmod mmx mng motif mozilla mp3 mpeg ncurses
nls ogg oggvorbis openal opengl pam pcre pdflib perl png python qemu-fast qt
quicktime readline samba scanner sdl slang softmmu speex spell sse ssl svg svga
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis
win32codecs wmf xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-12-01 12:37:37 UTC
This is really something upstream has to solve, please add your comment to the
bug you listed
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-12-02 01:30:34 UTC
Actually converting eps to pdf is not an easy feat which requires a postscript
interpreter. I don't expect that openoffice has desires to include a postscript
interpreter. What you could do is look for pstoedit.

The metadata is correct though. The author value is 16 bit unicode encoded as a
hex string. It's value is not surprisingly "Peter Fox" (FEFF is a unicode marker
that indicates 16bit unicode and little endian byte order). The creator is
"writer" and the producer is: "OpenOffice.org 2.0". The date value, while not
completely quoted is actually correct, while the 1.1 openoffice date is in the
wrong format.