Bug 388615 - PDf which does not display correctly
Summary: PDf which does not display correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-06 12:50 UTC by m.wege
Modified: 2018-07-16 23:05 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Broken PDF (1.30 MB, application/pdf)
2018-01-06 12:50 UTC, m.wege
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2018-01-06 12:50:07 UTC
Created attachment 109707 [details]
Broken PDF

I have a pdf which does not display correctly in Okular. I does work with the internal PDF-viewers of Chrome/Chromium and Firefox. What does not work: It does not show the 8 digit code in the square under "Dein 10€ Ecoupon". The code is there, because it is still possible to copy and paste it, but it is not shown. Therfore I assume it might be a font issue. I am running KDE Neon Git stable with a relatively recent installation.
Comment 1 Yuri Chornoivan 2018-01-06 13:20:57 UTC
Looks fine here (Okular 1.0.3, poppler 0.52).

Do you have Liberation fonts installed?

Thanks in advance for your answer.
Comment 2 m.wege 2018-01-06 13:56:33 UTC
Yes, I have Liberation fonts installed.
Comment 3 Albert Astals Cid 2018-01-11 19:22:05 UTC
What is your poppler version?

Can you also attach the output of
  pdffonts -subst myfile.pdf 
?
Comment 4 m.wege 2018-01-22 10:04:06 UTC
poppler-data 0.4.7-7
poppler-utils: 0.41.0-0ubuntu1.6


Output of  pdffonts -subst 


Helvetica                                 3  0 Nimbus Sans L                        /usr/share/fonts/type1/gsfonts/n019003l.pfb
Comment 5 Albert Astals Cid 2018-01-22 22:56:16 UTC
Your poppler is almost 2 years old and since it works for me and Yuri i'll close this works.

If you get a new poppler and it still fails please reopen this bug.
Comment 6 m.wege 2018-01-23 09:13:06 UTC
This version is part of an uptodate KDE NEON which bases on Ubuntu Xenial LTS-version. Is there any way to get a more recent version of poppler without giving up KDE Neon?
Comment 7 Michael Weghorn 2018-01-23 10:49:38 UTC
(In reply to m.wege from comment #6)
> This version is part of an uptodate KDE NEON which bases on Ubuntu Xenial
> LTS-version. Is there any way to get a more recent version of poppler
> without giving up KDE Neon?

The next KDE Neon release will be based on Ubuntu 18.04 LTS (to be released in April 2018), which will have a newer Poppler version as well.

If you want to haven a newer version right now, the only reasonable way is probably to build it yourself from the source code, but this is not trivial, since you'd have to recompile Okular and other applications depending on poppler as well to make use of the new Poppler version.
Comment 8 m.wege 2018-07-16 19:04:52 UTC
I have updated to KDE NEON on 18.04. The bug still exits. I post the other output in the next post.
Comment 9 Nate Graham 2018-07-16 19:09:42 UTC
KDE Neon is still based on Ubuntu 16.04, so it still has the old Poppler. You're confusing the version of the distro used as a base ( Ubuntu 16.04) with the version of KDE Applications (which happens to use a similar naming scheme, and is currently at 18.04.)
Comment 10 m.wege 2018-07-16 19:10:42 UTC
name      object ID substitute font                      substitute font file
Helvetica  0      Arial  /usr/share/fonts/truetype/msttcorefonts/Arial.ttf

libpoppler58 0.41.0-0ubuntu1.7
poppler-data 0.4.8-2
poppler-utils 0.62.0-2ubuntu2.1
Comment 11 m.wege 2018-07-16 19:13:02 UTC
@Nate: You are incorrect. There were test instructions on the forum on how to upgrade Neon to the Bionic base and I successfully managed even though the process broke and I had to fix.
Comment 12 Nate Graham 2018-07-16 19:21:53 UTC
Thanks for clarifying. I can reproduce the issue with this PDF on Kubuntu 18.04 with poppler 0.62.0, which is "only" 7 months old.
Comment 13 Albert Astals Cid 2018-07-16 20:42:22 UTC
I understand it does not work for you, but it still works for me, unless i misunderstood what you meant, here my screenshot https://i.imgur.com/TnlwpQh.png just in case, so maybe you let's say use Arch Linux and we'll all be happy?

Yes, i know that is not probably a solution for you and you really need to use Ubuntu, but I really can't fix what actually already works and is either old versions you're using or a misconfiguration on your side.

My suggestion would be that you install Arch Linux, verify it works and then start looking at the different versions of poppler/freetype/something and figure out what you need to update so it works for you too.

If when you install Arch Linux it doesn't work for you either, then we can compare your package list/configuration with mine to see what may be causing the issue.
Comment 14 m.wege 2018-07-16 22:11:40 UTC
Hmm, I just downloaded the Live CD, unfortunately it somehow crashed and did not boot into KDE, just a console. I will be visiting Akademy. Will you be there? if so and it does not disturb you, we could compare installed packages there.
Comment 15 Albert Astals Cid 2018-07-16 23:05:21 UTC
(In reply to m.wege from comment #14)
> Hmm, I just downloaded the Live CD, unfortunately it somehow crashed and did
> not boot into KDE, just a console. I will be visiting Akademy. Will you be
> there? if so and it does not disturb you, we could compare installed
> packages there.

Yes i will be at Akademy. I'm not convinced that the Arch Linux LiveCD "crashed", it's just that it is very basic and it actually just boots into the console. You may want to try the Manjaro KDE LiveCD for example