straight lines drawn using the line drawing tool are not rendered correctly when I increase their widths. It's like the with at the endpoint gets inversely scaled resulting in 2 triangles ponting at each others tips. CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" already tried without '-mfpmath=sse' and even rebuildt cairo. USE="curl eds gnome gtk java ldap mozilla xml2 zlib -kde" This only applies to single straight lines. All other vector objects get rendered as expected.
which gcc version are you using? And the -mmmx -msse etc. stuff is not needed as -march=pentium-m already tells what you have. Could you possibly also attach an image of what you mean.
Created attachment 76457 [details] screenshot of oodraw2 showing the undesired effect
Comment on attachment 76457 [details] screenshot of oodraw2 showing the undesired effect The gcc version I use is: gcc-Version 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) with this libc: GNU C Library stable release version 2.3.6, by Roland McGrath et al. Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8). Compiled on a Linux 2.6.11 system on 2006-01-04. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Native POSIX Threads Library by Ulrich Drepper et al The C stubs add-on version 2.1.2. GNU Libidn by Simon Josefsson BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. on a gentoo The attached screenshot shows 4 lines drawn in oodraw2 with increasing widths.
... on 2.6.14-gentoo-r5 and 2.6.14-nitro2 kernels.
Looks cool, but probably not what you want indeed. I would expect it is a bug somewhere in the code or the compiler.
Thomas, could you please try with even more generic CFLAGS, something like CFLAGS="-O2 -march=pentium-m -pipe" Also please provide your "emerge info" please
I have exactly the same problem. I'm using GCC 3.4.5, kernel 2.6.14 and X.org 7.0. The problem doesn't apply with openoffice-bin-2.0.1, and didn't with openoffice-2.0.0. This machine contains an Athlon XP and an ATI video card, but the problem also occurs on another machine, with a Pentium 4 and an NVidia card. A recompilation on both machines didn't help either. I also have other graphics problems. Curves aren't drawed correctly, it's like if the first and the last points were connected together by a line, but only when the curve is more than 1 pixel in width on display. There are other display bugs with curves, and I will attach a screenshot right after this message. It is interessant to note that these problems *also apply to exported PDF*! Here is my "emerge --info": Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo i686) ================================================================= System uname: 2.6.14-gentoo i686 AMD Athlon(tm) Gentoo Base System version 1.12.0_pre14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mfpmath=sse -O2 -fweb -frename-registers -fomit-frame-pointer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -mfpmath=sse -O2 -fweb -frename-registers -fomit-frame-pointer -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/mirror/gentoo/" LANG="fr_FR.UTF-8" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib acl alsa apache2 apm audiofile berkdb bitmap-fonts bzip2 cdr cjk crypt cups curl dga dri dts dvd dvdread eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb gdbm gif glut gmp gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 jpeg kde kdeenablefinal lcms libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl php pic png python qt quicktime readline real samba scanner sdl slang speex spell sse ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux linguas_fr userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Created attachment 77149 [details] Curves (excent the middle one) drawed correctly In this screenshot, curves are drawed correctly, except the middle one which has a with of more than one pixel.
Created attachment 77150 [details] Curves and lines buggy drawing As you can see in this screenshot, with the width of lines and curves is more than one pixel, the rendering is completely buggy. It's the same result in exported PDF files.
@Benjamin: Same advice for you: Please build OOo with more generic CFLAGS (like the -bin is built with), over-optimization is known to cause problems
Okay, I'll try that. Se you in about eight hours. :)
Re-emerged with the following CFLAGS: -march=athlon-xp -O2 -pipe And the problems are still there...
Here comes my missing "emerge --info" btw. as Benjamin stated, the bug does not show up in de 2.0.1 binary package. Tonight I plan to build it without any optimization at all (not even the -march option). Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.0_pre13 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_AT.utf8" LC_ALL="de_AT.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-gentopia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 cairo cdr cpdflib crypt cups curl curlwrappers dba dbus dga dio divx4linux dts dv dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac flash foomaticdb fortran ftp gd gdbm ggi gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imap imlib ipv6 java javascript jpeg junit lcms ldap libcaca libg++ libwww mad matroska mhash mikmod mime ming mmx mng mono motif mozilla mp3 mpeg mpi mysql nas ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis openal opengl oss pam pcmcia pcre pda pdflib perl php plotutils png pnp ppds python qt quicktime readline ruby samba scanner sdl session sharedmem slang smartcard sockets spell sse sse2 ssl svg svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l vcd vhosts vorbis wifi win32codecs wxwindows xine xml xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS
I built it tonight it with CFLAGS="-O1 -pipe -fomit-frame-pointer" (couldn't resist to do at least O1 :-) unfortunately with the same unsatisfying result.
Can reproduce that problem. If it isn't happening in the bin, it most likely a problem in one of the ooo-build-patches. So could you please file a bug about that here: https://bugzilla.novell.com/index.cgi (which is upstream in this case)
Looks like already reported upstream @OO.o, but they neither know. see http://www.openoffice.org/issues/show_bug.cgi?id=59598 and http://www.openoffice.org/issues/show_bug.cgi?id=60196 Got the same problem. ~-bin-2.0.1 works while ~-2.0.1 is buggy. Using xorg-x11-6.8.2-r6 with gentoo-sources-2.6.15 and opensource radeon driver. Portage 2.1_pre3-r1 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.2 bsys-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.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect confcache distcc distlocks fixpackages parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en de" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aalib accessibility acl acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo canna cdb cdr crypt cscope cups curl dga directfb dri dts dvd eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash foomaticdb fortran freewnn gd gdbm ggi gif gimpprint glut gmp gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imap imlib ipv6 jack java jikes jpeg kde lcms ldap libcaca libg++ libwww lirc mad maildir mbox mcal mikmod mmx mng mono motif motiv mozilla mp3 mpeg mysql nas ncurses nls nptl ogg oggvorbis openexr opengl oss pam pcmcia pcre pda pdflib perl php pic plotutils png pnp ppds prelude python qt quicktime readline ruby samba scanner sdl slang slp speex spell sqlite sse sse2 ssl subversion svg svga symlink tcltk tcpd tetex theora tiff truetype truetype-fonts trusted type1-fonts udev usb v4l v4l2 vorbis wifi win32codecs wxwindows xine xinerama xml2 xosd xprint xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
*** Bug 117579 has been marked as a duplicate of this bug. ***
(In reply to comment #16) > Looks like already reported upstream @OO.o, but they neither know. > see http://www.openoffice.org/issues/show_bug.cgi?id=59598 > and http://www.openoffice.org/issues/show_bug.cgi?id=60196 Still would be better to report it at: https://bugzilla.novell.com/index.cgi as this is the place for problems with ooo-build, and as this happens only in the ooo-build-based versions (and not in the "official" binary) this has to be related to this.
Just to note: both this and the problem described in bug #117579 don't show up with openoffice-2.0.0 (based on ooo-build-2.0.0.2). So this seems to have been broken with one of the new patches. Now we just have to find out which one (or ask upstream ;) )
also have a look at https://bugzilla.novell.com/show_bug.cgi?id=144679
With some help from upstream we could detect the faulty patch and I've removed it now in the gentoo-build. Already tried this out myself and all the reported rendering problems are gone for me. So give the mirrors some time to catch up, then emerge sync and rebuild openoffice. Closing this :)