[okular] [Bug 467328] Okular mismanages fonts embedded in PDF document when printing

Oliver Sander bugzilla_noreply at kde.org
Wed Mar 15 09:34:45 GMT 2023


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

--- Comment #6 from Oliver Sander <oliver.sander at tu-dresden.de> ---
I fully agree that `force rasterization` is only a workaround.

Okular currently converts pdf files to postscript and sends that to the printer
(I forgot why exactly). Presumably it is the conversion step that goes wrong in
your case.  If you want to have a look at the code: That's at
`generator_pdf.cpp:1366`.

There used to be a patch that made Okular send the pdf file straight to the
printer, but I can't seem to find it right now.

And then there's the official Qt way of printing: Render everything to a
`QPrinter` object.  Code for that is at
https://invent.kde.org/graphics/okular/-/merge_requests/411 , but that has its
own set of problems.

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


More information about the Okular-devel mailing list