Bug 16438

Summary: Poppler 0.8.3 seems to show incorrectly form EU8N
Product: poppler Reporter: Maciej Piechotka <uzytkownik2>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: EU8N
Front page

Description Maciej Piechotka 2008-06-19 11:56:29 UTC
The form EU8N from http://www.direct.gov.uk/ seems to be incorrectly rendered. Text is missing.

glib frontend cairo backend.

Portage 2.1.5.6 (default/linux/x86/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-zen1 i686)
=================================================================
System uname: 2.6.25-zen1 i686 Intel(R) Celeron(R) M processor 1.50GHz
Timestamp of tree: Thu, 19 Jun 2008 02:01:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args -fvisibility-inlines-hidden"
DISTDIR="/var/tmp/distfiles"
FEATURES="ccache collision-protect cvs digest distlocks multilib-strict parallel-fetch sandbox sfperms sign splitdebug stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--add-needed -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="en_GB en_US pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/mozilla /usr/portage/local/layman/gcc-porting /usr/portage/local/layman/java-experimental /usr/portage/local/layman/vala-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/zen-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa applet attr avahi avalon bash-completion berkdb bittorrent bluetooth boo browseplugin bzip2 c++ cairo calendar caps cddb cdparanoia cdr cli clisp context cracklib crypt cups curl curlwrappers cxx d daap dbus deskbar devhelp disk-partition djvu dri dvd dvdnav dvdr dvdread eclipse eds emacs emboss encode epiphany esd evo evolution exif expat extra fam ffmpeg flac flash fortran fuse galago gconf gd gdbm gdl gedit gif gimp git glut gmail gmp gnome gnome-keyring gnutls gpm gsf gstreamer gtk guile hal iconv idle imap inherit-graph inotify ipod iproute2 ipv6 isdnlog jabber java java5 jpeg jpeg2k jython kerberos keyring laptop latex libburn libffi libgda libnotify libsexy logrotate lucene mad madwifi maildir mailwrapper mhash midi mikmod mmap mmx mono moonlight mozilla mp3 mpeg mudflap mule musicbrainz nautilus ncurses network networkmanager nls nntp no-old-linux nptl nptlonly nsplugin ntpl ogg oggvorbis openal opengl openmp pam pango pbm pccts pcre pda pdf perl png policykit pop postgres ppds pppd pulseaudio python qt3support quicktime raw readline reflection regex reiserfs resolvconf rhino ruby samba scanner science sdl session snmp soap soup sourceview spell spl sqlite sqlite3 sse sse2 ssh ssl startup-notification subversion svg symlink syslog tcpd tetex theora threads threadsafe tiff timidity totem tracker trayicon truetype unicode usb valgrind vim vorbis vte wifi wxwindows x86 xattr xcb xforms xhtml xml xml2 xorg xsl xslt xulrunner xv zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="null empty dmix dshare ioplug" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Albert Astals Cid 2008-06-20 09:05:32 UTC
You add all that stuff about gentoo we don't care about but you are not adding the important information, that is, a link to the pdf and an attachment with the wrong rendering you get.
Comment 2 Maciej Piechotka 2008-06-20 11:50:46 UTC
Created attachment 17259 [details]
EU8N

It is public avaible form so I thought I don't have to load the db with additional file.
Comment 3 Albert Astals Cid 2008-06-20 15:04:48 UTC
You have to give an url or load it to the bug because you have the document at hand and i have not, so i do not spend time looking for it instead of trying to fix the bug, i think it's pretty simple.
Comment 4 Albert Astals Cid 2008-06-20 15:06:02 UTC
I'm still missing the screenshot of what you consider bad rendering.

And when you say "0.8.3 seems to show incorrectly" it means "0.8.2 seems to show it correctly?"
Comment 5 Maciej Piechotka 2008-06-20 23:22:11 UTC
Created attachment 17277 [details]
Front page

No. 0.8.3 means that I'm tring to be as specific as I can.
Example of rendering I've attached.
Comment 6 Albert Astals Cid 2008-06-21 04:05:49 UTC
Woa, that looks really wrong.

It works fine here though when using glib/demo/poppler-glib-demo binary found at the poppler distribution.

It would be a good idea if you could compile poppler without all that non default optimizations and try again.
Comment 7 Maciej Piechotka 2008-06-21 04:10:05 UTC
(In reply to comment #6)
> Woa, that looks really wrong.
> 
> It works fine here though when using glib/demo/poppler-glib-demo binary found
> at the poppler distribution.
> 
> It would be a good idea if you could compile poppler without all that non
> default optimizations and try again.
> 

By non-default you mean "-O0" or "-Os"? I will build it this afternoon. May be it turn out to be a gcc bug not poppler(that's why I included all 'gentoo' stuff)...
Comment 8 Albert Astals Cid 2008-06-21 04:45:16 UTC
By non default i mean to bypass completely that lot of gccflags you have there, so:
 * Unpack the tarball
 * ./configure
 * make
unless gentoo is *so smart* it also overwrites variables there. But basically by default i mean do not use ANY gcc variable flag.
Comment 9 Maciej Piechotka 2008-06-21 11:54:43 UTC
(In reply to comment #8)
> By non default i mean to bypass completely that lot of gccflags you have there,
> so:
>  * Unpack the tarball
>  * ./configure
>  * make
> unless gentoo is *so smart* it also overwrites variables there. But basically
> by default i mean do not use ANY gcc variable flag.
> 

Ok. With CFLAGS="" CXXFLAGS="" LDFLAGS="" it works. I'll try to add flags by one. Shell I post the results here or post a bug against gcc?
Comment 10 Albert Astals Cid 2008-06-21 12:06:33 UTC
Post it here first and then we'll decide if it's our or their fault
Comment 11 Maciej Piechotka 2008-06-21 12:55:00 UTC
I (un)fortunatly cannot reproduce the bug after rebuilding.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.