Bug 378690

Summary: Error: Mismatch between font type and embedded font file
Product: [Applications] okular Reporter: gregh <gregh3269>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, oliver.sander
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gregh 2017-04-12 10:08:24 UTC
Hello,

Centos 6
Qt: 4.6.2
KDE: 4.3.4 (KDE 4.3.4)
Okular: 0.9.5

When I open this file:

https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/373604/IHT419.pdf

It crashes with this as the output : 

Error: Mismatch between font type and embedded font file 
Error (35076): Missing 'endstream' 
KCrash: Application 'okular' crashing...
Segmentation fault (core dumped)

Would be useful to be able to complete the form on my centos box.

Cheers
Comment 1 Oliver Sander 2017-04-12 10:33:19 UTC
Hi Greg,
that's a pretty old version you have.  Can you try a newer one?  On my machine I have poppler 0.48 and okular from git master (admittedly, that is very new), and I don't get crashes.  I also tried 'atril', the (poppler-based) viewer from mate 1.16, and it doesn't crash either.
Comment 2 gregh 2017-04-12 10:38:07 UTC
It is the default version on Centos 6, so I guess I am stuck with it not working. ....Unless there is an easy way to upgrade it without breaking anything.
Comment 3 gregh 2017-04-12 10:44:07 UTC
It opens with xpdf but it does not have the forms button to be able to fill in the form fields (which okular has).

Cheers Greg
Comment 4 Albert Astals Cid 2017-04-12 11:08:39 UTC
(In reply to gregh from comment #2)
> It is the default version on Centos 6, so I guess I am stuck with it not
> working. ....Unless there is an easy way to upgrade it without breaking
> anything.

You may want to try the experimental flaptak packages https://community.kde.org/Guidelines_and_HOWTOs/Flatpak

Other than that, this bug doesn't exist in non ancient versions so i'm going to close it, we can't fix a bug that is already fixed.