D7949: Allow to print pdf doc directly into a QPrinter

Michael Weghorn noreply at phabricator.kde.org
Thu Oct 12 17:34:43 UTC 2017


michaelweghorn added a comment.


  In https://phabricator.kde.org/D7949#154351, @sander wrote:
  
  > >   large filesize (5x), because of letters being vectors instead of fonts 
  >
  > Yeah, I know about this one.  There's nothing really do be done about this on the Okular side, this is Qt's doing.
  >  On the other hand one could argue that this is what "printing to a file" actually means: you lose all semantic
  >  information like letters, annotations, tags, etc.
  
  
  While experimenting with this, I had also realized that text can no longer be selected after printing to a PDF file.
  However when printing from Kate for example, the text is still selectable, so it seems to me like there might possibly be some way to maintain text when printing in Qt. (?)
  
  Background: I wanted to evaluate the QPrinter based approach since it seems to have quite some advantages from an architectural point of view (platform-independent, not having to maintain printing-specific code at several places (Qt Okular,...)) and we plan to have some features implemented in the  print dialog (for Qt/Okular).

REVISION DETAIL
  https://phabricator.kde.org/D7949

To: sander, #okular
Cc: ltoscano, rkflx, michaelweghorn, ngraham, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20171012/b19d577b/attachment.html>


More information about the Okular-devel mailing list