Bug 465473

Summary: PDF printout broken
Product: [Applications] okular Reporter: Axel Braun <axel.braun>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: example of broken printout
print preview and screen preview
PDF example file

Description Axel Braun 2023-02-08 13:59:19 UTC
Created attachment 156072 [details]
example of broken printout

SUMMARY
***
I have a PDF generated from a LO document. Preview in okular is OK
When I print the PDF using okular, the output is broken. Doing the same from Master PDF Editor 4 works flawless
***


STEPS TO REPRODUCE
1. PDF document with Source Sans Pro fonts
2. Print
3. 

OBSERVED RESULT
See attached

EXPECTED RESULT
readable output

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230205
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-1-default (64-bit)
Graphics Platform: X11

docb@X1E:~> rpm -qa | grep poppler
libpoppler-qt5-1-23.01.0-2.1.x86_64
libpoppler126-23.01.0-2.1.x86_64
libpoppler-cpp0-23.01.0-2.1.x86_64
libpoppler-glib8-23.01.0-2.1.x86_64
poppler-tools-23.01.0-2.1.x86_64
poppler-data-0.4.11-1.5.noarch
Comment 1 Axel Braun 2023-02-08 14:43:16 UTC
Correction: The file is shown properly on the screen, but the print preview is already broken
Comment 2 Albert Astals Cid 2023-02-08 21:05:19 UTC
> Correction: The file is shown properly on the screen, but the print preview is already broken

Please explain what you mean with this.

Can you attach the file?
Comment 3 Axel Braun 2023-02-08 21:16:49 UTC
(In reply to Albert Astals Cid from comment #2)
> > Correction: The file is shown properly on the screen, but the print preview is already broken
> 
> Please explain what you mean with this.

See 2nd screenshot
 
> Can you attach the file?

sure, created a testcase, PDF attached
Comment 4 Axel Braun 2023-02-08 21:17:33 UTC
Created attachment 156088 [details]
print preview and screen preview
Comment 5 Axel Braun 2023-02-08 21:18:04 UTC
Created attachment 156089 [details]
PDF example file
Comment 6 Albert Astals Cid 2023-02-15 23:11:27 UTC
This is a poppler bug since it can be reproduce by doing

pdftops thefile.pdf
gs thefile.ps

Please report it at https://gitlab.freedesktop.org/poppler/poppler/-/issues/new?issue