Bug 327942 - Misrendering of PDF with Maths
Summary: Misrendering of PDF with Maths
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.17.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 13:54 UTC by Mark van Rossum
Modified: 2014-05-09 08:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF from PLOS (340.84 KB, application/x-pdf)
2013-11-22 13:55 UTC, Mark van Rossum
Details
Screenshot. Top: Acrobat, below: okular. Note bug depends on zoom-level. (86.41 KB, image/png)
2013-11-24 23:02 UTC, Mark van Rossum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark van Rossum 2013-11-22 13:54:29 UTC
I find that some public PDFs are misrendered with okular in maths.

See for instance the equation at the bottom of the first page of attached.
The index is shown on top of the sum, instead of below it.

I had not noted this but before so it might be new.

Acroread does it fine.

Reproducible: Always
Comment 1 Mark van Rossum 2013-11-22 13:55:27 UTC
Created attachment 83702 [details]
PDF  from PLOS
Comment 2 Albert Astals Cid 2013-11-24 17:04:42 UTC
Works fine here, or at least i can't see any difference with what Adobe Reader shows here, can you attach a screenshot highlighting the problem?
Comment 3 Mark van Rossum 2013-11-24 23:02:32 UTC
Created attachment 83746 [details]
Screenshot. Top: Acrobat, below: okular. Note bug depends on zoom-level.
Comment 4 Mark van Rossum 2013-11-24 23:02:56 UTC
(In reply to comment #2)
> Works fine here, or at least i can't see any difference with what Adobe
> Reader shows here, can you attach a screenshot highlighting the problem?

See attachement
Comment 5 Albert Astals Cid 2013-11-24 23:20:17 UTC
At which zoom does it happen? Which poppler and freetype versions do you have?
Comment 6 Mark van Rossum 2013-11-25 09:46:55 UTC
(In reply to comment #5)
> At which zoom does it happen? Which poppler and freetype versions do you
> have?

This most noticable around 100% and smaller. As you zoom out, the text get's smaller
but the symbols don't.
Are some font sizes  missing somehow?


poppler-data-0.4.6-4.fc20.noarch
poppler-qt-0.24.3-2.fc20.x86_64
pypoppler-0.12.1-25.fc20.x86_64
poppler-utils-0.24.3-2.fc20.x86_64
poppler-0.24.3-2.fc20.x86_64
poppler-glib-0.24.3-2.fc20.x86_64
freetype-devel-2.5.0-4.fc20.x86_64
freetype-2.5.0-4.fc20.x86_64
freetype-2.5.0-4.fc20.i686
Comment 7 Albert Astals Cid 2013-11-25 19:01:47 UTC
That's weird it's the same versions i'm running in my non devel environment and i can't reproduce there.

Sadly if we can't reproduce there's nothing we can do to fix it.

I'll leave it as unconfirmed in case someone else from the team can reproduce it at a later stage.
Comment 8 Christoph Feck 2013-11-26 00:02:11 UTC
On my system, it works perfectly on all zoom levels. It could indeed be related to fonts. If in doubt, install Microsoft font package, those give best compatibility with "standard" documents.

poppler 0.24.3, freetype 2.5.0.1
Comment 9 Albert Astals Cid 2013-11-26 22:27:20 UTC
Christoph, it can't be related to fonts since all the fonts of the file are embedded (see File->Properties->Fonts)
Comment 10 Albert Astals Cid 2014-05-08 16:15:29 UTC
Can you please try applying all the updates to Fedora 20? I am sitting next to someone that uses F20 will all the updates applied and the file works fine for him
Comment 11 Mark van Rossum 2014-05-09 08:19:02 UTC
Test again and looks ok now.

Thanks.