Bug 465473 - PDF printout broken
Summary: PDF printout broken
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 13:59 UTC by Axel Braun
Modified: 2023-02-15 23:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example of broken printout (24.22 KB, image/jpeg)
2023-02-08 13:59 UTC, Axel Braun
Details
print preview and screen preview (94.95 KB, image/png)
2023-02-08 21:17 UTC, Axel Braun
Details
PDF example file (34.33 KB, application/pdf)
2023-02-08 21:18 UTC, Axel Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
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