D25339: update lineHeight if boundingRect indicates a larger value.

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite,gmane.comp.kde.devel.frameworks
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.