D15111: [KoUnit] Let's show pixel units

Camilla Boemann noreply at phabricator.kde.org
Sat May 16 09:57:27 BST 2020


boemann added a comment.


  Even for line thickness it doesn't make sense to enable it in general. the image will change if you zoom in and out.
  
  If you want to have line thickness expressed as pixels based on a destination rendering, then you make a separate dialog, where you (in this specific instance) allow the user to specify number of pixels. Then you convert the pixel thickness into a physical thickness based on the target rendering scale.
  
  If you do that then all other apps will still work, with no ill effects and karbon users can specify it in karbon.
  
  But you do NOT do it in a general way for all apps. Only karbon does rendering to a specific bitmap. All other apps are just showing a document at a zoom level - in this case you definitely don't what to have something display relative.

REPOSITORY
  R8 Calligra

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

To: anthonyfieroni, boemann, danders, #calligra:_3.0, ndavis, #vdg
Cc: staniek, Calligra-Devel-list, davidllewellynjones, dcaliste, ognarb, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20200516/38110fa4/attachment.htm>


More information about the calligra-devel mailing list