D7962: Implement several new print scaling options

Oliver Sander noreply at phabricator.kde.org
Tue Oct 9 04:27:39 BST 2018


sander added a comment.


  ScaleMode:
  
  - None: Do not apply scaling at all
  - FitToPage: Scale the page to be printed such that it fits the target area as good as possible, without changing the aspect ratio
  - ShrinkToPage: Like FitToPage, but only scale down.
  
  ScaleTo:  What is the actual target area that we are printing onto?
  
  - FullPage: The complete physical piece of paper
  - PrintableArea: Only that part of the physical paper that the printer can print onto.
  
  As the printable area typically has margins on all four sides, the two ScaleTo options not only influence the size of the print output when scaling is enabled, they also influence the output position.  For example, when printing an A5 page onto an A4 sheet of paper without scaling, the A5 page will appear in the very upper left corner of the physical page if FullPage is selected.  Switching to PrintableArea will move it a little bit to the right and downwards, to account for the upper and left printer margins.

REPOSITORY
  R223 Okular

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

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


More information about the Okular-devel mailing list