D20351: Improve Legibility of preview of rectangle annotation and make it same color as resulting rectangle

Oliver Sander noreply at phabricator.kde.org
Tue Apr 9 09:22:17 BST 2019


sander added a comment.


  I like the color part of this patch.
  
  As for the line width:  As mentioned, '3' is arbitrary.  You need to find a width that takes current dpi into account.  Ideally, the width should be what later gets written into the pdf file.
  
  The fact that the rectangle is currently not completely drawn sounds like a Qt bug.  What is the pen width without your patch?  Even if it has width 0 it should paint a 1-pixel line.  Or is the page downscaled somewhere after rendering?

REPOSITORY
  R223 Okular

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

To: ahmedbilal, #okular, okular-devel, ngraham
Cc: sander, aacid, okular-devel, joaonetto, tfella, ngraham, darcyshen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190409/b7f98989/attachment.html>


More information about the Okular-devel mailing list