Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194791 - app-text/xpdf-3.01-r8 works badly with app-text/poppler-0.6
Summary: app-text/xpdf-3.01-r8 works badly with app-text/poppler-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on: 176081
Blocks:
  Show dependency tree
 
Reported: 2007-10-05 11:26 UTC by Michał Kiedrowicz
Modified: 2007-11-18 19:07 UTC (History)
5 users (show)

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


Attachments
xdf with poppler-0.6 (bad.png,49.25 KB, image/png)
2007-10-05 11:26 UTC, Michał Kiedrowicz
Details
xdf with poppler-0.5.4-r2 (good.png,275.58 KB, image/png)
2007-10-05 11:27 UTC, Michał Kiedrowicz
Details
emerge --info (emerge.info,3.47 KB, text/plain)
2007-10-05 11:30 UTC, Michał Kiedrowicz
Details
Correctly rendered ps file (foo.ps,27.73 KB, text/plain)
2007-11-14 16:23 UTC, Grant Goodyear (RETIRED)
Details
Correctly rendered pdf file (foo.pdf,18.82 KB, application/pdf)
2007-11-14 16:24 UTC, Grant Goodyear (RETIRED)
Details
Broken ps file from foo.pdf and xpdf/poppler (foo2.ps,53.67 KB, text/plain)
2007-11-14 16:25 UTC, Grant Goodyear (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Kiedrowicz 2007-10-05 11:26:03 UTC
xdpf displays text badly when compiled with app-text/poppler-0.6. Everything is much bolder. It looks like xpdf renders text bolder, then it makes it normal (bold text flashes for 0,5 sec.) (without 'continous view'). With 'continuos view', first few pages are OK, then everything becomes bold.

Downgrading poppler to 0.5.4-r2 and rebuilding xpdf solves this problem.

Reproducible: Always
Comment 1 Michał Kiedrowicz 2007-10-05 11:26:55 UTC
Created attachment 132640 [details]
xdf with poppler-0.6
Comment 2 Michał Kiedrowicz 2007-10-05 11:27:47 UTC
Created attachment 132641 [details]
xdf with poppler-0.5.4-r2
Comment 3 Michał Kiedrowicz 2007-10-05 11:30:07 UTC
Created attachment 132642 [details]
emerge --info
Comment 4 Helmut Jarausch 2007-11-05 18:00:49 UTC
Even worse here. xpdf-3.01-r8 with poppler-0.6.1 I cannot print anymore -
even on a printer with genuine Adobe postscript level 3 builtin.

When I 'print" to a file, I cannot view that postscript file with gv or
gsview, so I assume it produces invalid postscript.
Comment 5 Grant Goodyear (RETIRED) gentoo-dev 2007-11-14 16:23:47 UTC
Created attachment 135967 [details]
Correctly rendered ps file
Comment 6 Grant Goodyear (RETIRED) gentoo-dev 2007-11-14 16:24:24 UTC
Created attachment 135969 [details]
Correctly rendered pdf file
Comment 7 Grant Goodyear (RETIRED) gentoo-dev 2007-11-14 16:25:07 UTC
Created attachment 135970 [details]
Broken ps file from foo.pdf and xpdf/poppler
Comment 8 Grant Goodyear (RETIRED) gentoo-dev 2007-11-14 16:34:26 UTC
(In reply to comment #4)
> Even worse here. xpdf-3.01-r8 with poppler-0.6.1 I cannot print anymore -
> even on a printer with genuine Adobe postscript level 3 builtin.
> 
> When I 'print" to a file, I cannot view that postscript file with gv or
> gsview, so I assume it produces invalid postscript.

I get the same result.  I used oowriter to create a simple text doc,
used print-to-file to generate "foo.ps", export-to-pdf to generate
"foo.pdf", and I used xpdf's print-to-file to generate "foo2.ps" (all attached).
The "foo2.ps" file generated from xpdf (and presumably poppler) 
is broken--it fails to render in gv and it fails to print.  Downgrading
poppler and rebuilding xpdf works, but is far from optimal.

For whatever it's worth, evince is similarly broken with the current poppler.  Printing or print-to-file from acroread works just fine.

# paludis -ip poppler

These packages will be installed:

* app-text/poppler-0.6.2 {:0} [R] -cjk jpeg zlib

# paludis -ip xpdf

These packages will be installed:

* app-text/xpdf-3.01-r8 {:0} [R] -nodrm linguas: -ar -el -he -ja -ko -la -ru -th -tr -zh_CN -zh_TW

# paludis -ip cups

These packages will be installed:

* net-print/cups-1.3.4-r2 {:0} [R] X -acl -avahi -dbus -java jpeg -kerberos -ldap nls pam perl -php png ppds python -samba -slp ssl -static -tiff -zeroconf linguas: -de en -es -et -fr -he -it -ja -pl -sv -zh_TW <app-text/ghostscript-esp-8.15.4:0::installed, net-print/foomatic-filters-3.0.20070501:0::installed, 1 more>


# paludis --info
paludis@1195057191: [WARNING] Safe resume support is now enabled by default; there is no need to pass --safe-resume
paludis 0.26.0_alpha3
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2)
        CXXFLAGS:              -O2 -march=i686 -pipe -ggdb
        LDFLAGS:               
        DATE:                  2007-11-05T13:26:20-0600

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

    Reduced Privs:
        reduced_uid:           108
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /dev/null
        reduced_gid:           414
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib/python2.5/site-packages
        RUBYINSTALLDIR:        /usr/lib/ruby/site_ruby/1.8/i686-linux

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed-virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        append_repository_name_to_write_cache: true
        builddir:              /var/tmp/paludis
        cache:                 /usr/portage/metadata/cache
        distdir:               /usr/portage/distfiles
        eapi_when_unknown:     0
        eapi_when_unspecified: 0
        eclassdirs:            /usr/portage/eclass
        entry_format:          ebuild
        format:                ebuild
        ignore_deprecated_profiles: false
        layout:                traditional
        location:              /usr/portage
        names_cache:           /var/cache/paludis/.cache/gentoo-names
        newsdir:               /usr/portage/metadata/news
        profile_eapi:          0
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1
        securitydir:           /usr/portage/metadata/glsa
        setsdir:               /usr/portage/sets
        sync:                  rsync://rsync.us.gentoo.org/gentoo-portage/
        sync_options:          
        write_cache:           /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17-r1
        dev-java/java-config:  1.3.7, 2.0.33-r1
        dev-lang/python:       2.4.4, 2.5.1-r3
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.10-r5
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13, 2.61-r1
        sys-devel/automake:    1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.23-r1

Repository installed:
    Configuration information:
        builddir:              /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/cache/paludis/.cache/installed-names
        provides_cache:        /var/cache/paludis/.cache/installed-provides
        root:                  /
        world:                 /var/db/pkg/world

Repository local_overlay:
    Configuration information:
        append_repository_name_to_write_cache: true
        builddir:              /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eapi_when_unknown:     0
        eapi_when_unspecified: 0
        eclassdirs:            /usr/portage/eclass
        entry_format:          ebuild
        format:                ebuild
        ignore_deprecated_profiles: false
        layout:                traditional
        location:              /usr/local/portage
        names_cache:           /var/empty
        newsdir:               /usr/local/portage/metadata/news
        profile_eapi:          0
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1
        securitydir:           /usr/local/portage/metadata/glsa
        setsdir:               /usr/local/portage/sets
        sync:                  
        sync_options:          
        write_cache:           /var/empty

Repository x-mabi:
    Configuration information:
        append_repository_name_to_write_cache: true
        builddir:              /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eapi_when_unknown:     0
        eapi_when_unspecified: 0
        eclassdirs:            /usr/portage/eclass
        entry_format:          ebuild
        format:                ebuild
        ignore_deprecated_profiles: false
        layout:                traditional
        location:              /usr/portage/local/layman/mabi
        names_cache:           /var/empty
        newsdir:               /usr/portage/local/layman/mabi/metadata/news
        profile_eapi:          0
        profiles:              /usr/portage/profiles/default-linux/x86/2006.1
        securitydir:           /usr/portage/local/layman/mabi/metadata/glsa
        setsdir:               /usr/portage/local/layman/mabi/sets
        sync:                  
        sync_options:          
        write_cache:           /var/empty

Comment 9 Grant Goodyear (RETIRED) gentoo-dev 2007-11-15 15:14:34 UTC
Another aside:

"lpr foo.pdf" also seems to work fine for printing.  With cups the pdftops and pstops filters are used instead of poppler, from what I can tell.
Comment 10 Michał Kiedrowicz 2007-11-18 18:21:35 UTC
xpdf-3.02 doesn't have issues I mentioned, but I can't tell anything about problems with printing.
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2007-11-18 19:07:16 UTC
fixed