Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137612 - kpdf-3.5.5 treats landscape pdfs with a portrait orientation during printing
Summary: kpdf-3.5.5 treats landscape pdfs with a portrait orientation during printing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: 145314 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-22 09:32 UTC by Fabio Rossi
Modified: 2007-02-10 22:48 UTC (History)
4 users (show)

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 Fabio Rossi 2006-06-22 09:32:29 UTC
kpdf-3.5.2 prints landscape documents with a portrait orientation. For example, look at http://www.usembassy.it/visa/VWP-timeline.pdf. The print preview and the print are cut to portrait size.

Remove the patch kpdf-3.5.2-poppler.patch.bz2 to solve the problem (the preview is still cut in a bad way but it has a landscape format and the print is ok)

There is a KDE bug http://bugs.kde.org/show_bug.cgi?id=129249: it seems it's a Gentoo problem.

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/openoffice/share/dict/ooo /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts blas browserplugin bzip2 cairo cddb cdparanoia cdr chroot clamav cli cmucl crypt cups curl dri dv dvb dvd dvdr dvdread emboss encode ethereal examples exif fame fbcon ffmpeg fftw firefox foomaticdb fortran fpx gcj gd gdbm gif gimpprint gmp gnutls gpm graphviz gs gtk gtk2 gtkhtml idn imagemagick imlib innodb ipv6 isdnlog java jbig jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww live lm_sensors lzo mad mikmod mime mjpeg mmx mmxext mng motif mozdevelop mozsvg mozxmlterm mp3 mpeg ncurses network nls nntp nptl nsplugin odbc ogg opengl oss pam pcre pdflib perl plotutils png ppds pppd python qt quicktime readline real reflection samba sdk sdl session skey smime spell spl sse sse2 ssl stats svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 vim-with-x vorbis wifi win32codecs wmf wxgtk1 wxwindows xanim xine xml xmms xorg xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-22 09:40:05 UTC
Stephan, up to you :)
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-22 09:54:39 UTC
when it is poppler specific it is aalso an ubuntu bug, have you found some fix for it there? :)
Comment 3 Fabio Rossi 2006-06-23 01:01:42 UTC
I have no fix, sorry :-(

I tested also kpdf against poppler-0.5.3 without success.
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-06-23 01:59:46 UTC
I just bumped into this one yesterday and was looking to see if it had been fixed anywhere. Anyone got any ideas? It is pretty irritating as it does not seem possible to print these documents out in their entirety using kpdf...
Comment 5 Sebastian Roeder 2006-06-24 01:57:37 UTC
Is this problem only related to landscape mode or is it a more general "pdf prints are croped wrong by kpdf" problem? I have some problems to print pdfs with kpdf in  general. They are portrait orientation but they are wrongly placed on ther paper sheet so that ~ 5cm of the pdf are cut on the top (and there is white space at the bottom). I double checked my printer settings and the problem occeurs on two gentoo boxes. The print preview shows the problem, too (so the preview is in sync with the print result). I (have to) use ghostscript-esp-8.15  cause *-afpl and *-gnu don't support my printer. I'd like to hunt down this problem but I don't know whether it is kpdfs, popplers or ghostscript-esp fault :-/  
Comment 6 Sebastian Roeder 2006-06-24 02:17:04 UTC
OK I did another check - could have done this earleier though. The file prints fine with kghostview so it seems like a problem with poppler-patched kpdf. Should I open a seperate bug report?
Comment 7 Fabio Rossi 2006-06-24 05:18:03 UTC
Up to now I have had problems only with landscape documents. If you think your problem is related to poppler patch try to remove it :-)
Comment 8 Ville Aakko 2006-08-27 23:33:12 UTC
*** Bug 145314 has been marked as a duplicate of this bug. ***
Comment 9 Fabio Rossi 2006-11-17 13:02:38 UTC
I can confirm the same problem with the new stable kpdf-3.5.5
Comment 10 Matteo Azzali (RETIRED) gentoo-dev 2006-11-19 02:05:47 UTC
emerging app-text/ghostscript-esp-8.15.3-r1 as virtual/ghostscript
(with X cups gtk flags on) solved it for me.
Comment 11 Fabio Rossi 2006-11-19 05:34:49 UTC
(In reply to comment #10)
> emerging app-text/ghostscript-esp-8.15.3-r1 as virtual/ghostscript
> (with X cups gtk flags on) solved it for me.

I have just installed app-text/ghostscript-esp-8.15.3-r1 and kpdf with the poppler patch: the problem is still there :-(

When I remove the poppler patch from kpdf, there are no problems (with both ghostscript versions, -esp and -gpl).
Comment 12 Samir M. Nassar 2006-11-28 20:30:53 UTC
The KDPF maintainer doesn't like that KPDF gets patched with poppler patches: http://tsdgeos.blogspot.com/2006/03/lets-do-poppler-dance.html

Seeing as I can't print PDF's at the moment I can't disagree. That is a different bug entry though.
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2007-02-10 22:48:46 UTC
the new kpdf 3.5.6 uses poppler no longer which finally fixes this bug, thank you all for your patience