D25339: update lineHeight if boundingRect indicates a larger value.

René J.V. Bertin noreply at phabricator.kde.org
Sat May 9 15:56:38 BST 2020


rjvbb added a comment.


  >   I assume the lineHeight usages in the renderer are easy to replace with the proper "height()" of the individual lines of the layout.
  
  This is what I think could be tricky. One wouldn't want fluctuating line heights when only a single font is used (at least not when using a fixed-width/"mono" font). That concern is of course moot is lineheight is calculated from a font property that doesn't depend on the actual text being rendered.

REPOSITORY
  R39 KTextEditor

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

To: xuetianweng, #ktexteditor, cullmann, dhaumann, #frameworks, rjvbb
Cc: ahmadsamir, brauch, sars, pshinjo, rjvbb, fakefred, anthonyfieroni, kde-frameworks-devel, kwrite-devel, rrosch, LeGast00n, cblack, domson, michaelh, ngraham, bruns, demsking, cullmann, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200509/3fdf2f83/attachment.htm>


More information about the Kde-frameworks-devel mailing list