[okular] [Bug 497235] New: preview and printing of (certain) PDF file fails

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Dec 9 12:36:34 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=497235

            Bug ID: 497235
           Summary: preview and printing of (certain) PDF file fails
    Classification: Applications
           Product: okular
           Version: 23.08.5
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: okular-devel at kde.org
          Reporter: yadtxizh at gmail.com
  Target Milestone: ---

SUMMARY
Printing of (some) pdf files will fail, mostly silently.
OS is openSUSE 15.6, but also failed on 15.4.

STEPS TO REPRODUCE
1. Load PDF File and either 
2. select print preview
3. print (printing to pdf will do) 

OBSERVED RESULT
Print preview errors out or doesn't display a preview. Printing fails more or
less silently. In Cups error log a message like

D [09/Dec/2024:12:05:36 +0100] [Job 2135] Error: /undefined in --load--
D [09/Dec/2024:12:05:36 +0100] [Job 2135] Operand stack:
D [09/Dec/2024:12:05:36 +0100] [Job 2135] true   --dict:77/200(L)--  
ICCBased-8-0-1   --nostringval--   CIEBasedA   --nostringval--  
--nostringval--   DecodeA   lcms2gammaproc
D [09/Dec/2024:12:05:36 +0100] [Job 2135] Execution stack:
D [09/Dec/2024:12:05:36 +0100] [Job 2135] --dict:748/1123(ro)(G)--  
--dict:0/20(G)--   --dict:77/200(L)--   --dict:68/75(L)--   --dict:19/25(L)--  
--dict:0/15(L)--   --dict:0/15(L)--   --dict:7/15(L)--   --dict:0/15(L)--  
--dict:0/15(L)--   --dict:0/15(L)--
D [09/Dec/2024:12:05:36 +0100] [Job 2135] Current allocation mode is local
D [09/Dec/2024:12:05:36 +0100] [Job 2135] GPL Ghostscript 9.52: Unrecoverable
error, exit code 1

However it seems not to be a cups issue as
a) printing to "PDF File" yields a small, probably truncated, file
b) printing the pdf directly via "lpr" works

EXPECTED RESULT
Printing via okular works, too.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Workaround would be to select "Force Rasterization" on print dialog.
Installing "okular-spectre" makes no change.
A saved "ps" file (from preview) seems corrupt, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list