Bug 171921 - Okular fails to properly render PDF files created by pdflatex
Summary: Okular fails to properly render PDF files created by pdflatex
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.7.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 21:48 UTC by okular improver
Modified: 2008-10-01 00:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
LaTeX source file (125 bytes, text/x-tex)
2008-09-30 22:09 UTC, okular improver
Details
pdflatex generated PDF (8.37 KB, application/pdf)
2008-09-30 22:12 UTC, okular improver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description okular improver 2008-09-30 21:48:52 UTC
Version:           0.7.1 (using KDE 4.1.1)
OS:                Linux
Installed from:    Ubuntu Packages

I created a LaTeX source file /home/user/kpdf-versus-okular.tex (shown here in Kate: http://img258.imageshack.us/my.php?image=kpdfversusokulartextp5.png ). Next, I opened up a Terminal (Konsole) and executed: cd /home/user && pdflatex kpdf-versus-okular.tex; The relevant output of this command is the PDF it generates: kpdf-versus-okular.pdf. I started KPDF, got rid of all the toolbars, navigation panels, menubars, etc. and opened /home/user/kpdf-versus-okular.pdf (shown here: http://img258.imageshack.us/my.php?image=kpdfresultsot6.png ). This is how the page ought to look. I then started Okular, got rid of all the toolbars, navigation panels, menubars, etc. (just like with KPDF) and opened /home/user/kpdf-versus-okular.pdf (shown here: http://img201.imageshack.us/my.php?image=okularresultsov2.png ). Notice the enormous disparity in the margins between the two PDF viewers. Until recently (sorry, don't remember exactly when, but definitely sometime around the weekend), Okular rendered the document just as KPDF does. Looks like a regression, but I'm no expert, and request the pertinent developers kindly fix this.

Thanks!
Comment 1 Pino Toscano 2008-09-30 22:03:58 UTC
Hello,

unfortunately, without a document it is quite difficult.
Could you please attach a sample PDF document that shows the issue?
Also, what is the version of your Poppler-Qt4 library?
Comment 2 okular improver 2008-09-30 22:09:51 UTC
Created attachment 27627 [details]
LaTeX source file

Run pdflatex kpdf-versus-okular.tex
Comment 3 okular improver 2008-09-30 22:12:27 UTC
Created attachment 27628 [details]
pdflatex generated PDF
Comment 4 okular improver 2008-09-30 22:13:42 UTC
pdflatex -v output:
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.27; using libpng 1.2.27
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 3.00
Comment 5 okular improver 2008-09-30 22:16:01 UTC
aptitude show libpoppler-qt4-3 output:
Package: libpoppler-qt4-3
New: yes
State: installed
Automatically installed: yes
Version: 0.8.7-1
Priority: optional
Section: libs
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 500k
Depends: libc6 (>= 2.4), libfontconfig1 (>= 2.4.0), libgcc1 (>= 1:4.1.1), libpoppler3, libqt4-test (>= 4.4.1), libqt4-xml (>= 4.4.1),
         libqtcore4 (>= 4.4.1), libqtgui4 (>= 4.4.1), libstdc++6 (>= 4.1.1)
Description: PDF rendering library (Qt 4 based shared library)
 Poppler is a PDF rendering library based on xpdf PDF viewer.

 This package provides the Qt 4 based shared library for applications using the Qt 4 interface to Poppler.

Tags: role::shared-lib, special::not-yet-tagged, special::not-yet-tagged::l
Comment 6 okular improver 2008-09-30 22:16:52 UTC
aptitude show libpoppler-qt2 output:
Package: libpoppler-qt2
State: installed
Automatically installed: yes
Version: 0.8.7-1
Priority: optional
Section: libs
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 139k
Depends: libc6 (>= 2.1.3), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.1.1), libpoppler3, libstdc++6 (>= 4.1.1),
         zlib1g (>= 1:1.1.4)
Description: PDF rendering library (Qt 3 based shared library)
 Poppler is a PDF rendering library based on xpdf PDF viewer.

 This package provides the Qt 3 based shared library for applications using the Qt 3 interface to Poppler.

Tags: role::shared-lib, special::not-yet-tagged, special::not-yet-tagged::l
Comment 7 Albert Astals Cid 2008-09-30 22:17:59 UTC
Some things you should do next time:
 * Do not use a mail address that you think makes you seem smart, you loose points at how seriously i'll take your issues
 * Do not host images at imageshack, they die fast and are a pain to view, just attach them to the bug

And i doubt this is a bug, you probably have "Trim borders" activated.
Comment 8 okular improver 2008-09-30 22:24:08 UTC
Albert Astals Cid: Trim borders was indeed on. Status of bug changed to INVALID.
Also, if you're going to mention something about someone else's intelligence, learn the difference between loose and lose.
Comment 9 Albert Astals Cid 2008-10-01 00:12:38 UTC
:-)

What has intelligence to do with the hability of not making typos in the third language i speak?

I'm glad your problem was fixed.