D25339: KateRenderer: Use representitive character in CJK to estimate the fontHeight.

Xuetian Weng noreply at phabricator.kde.org
Thu May 7 06:36:32 BST 2020


xuetianweng added a comment.


  I'm not sure if this is the right way to do it or it might cause any glitch,  but here we go. Upon line rendering, update the maximum height we've ever seen.
  
  Though line height won't shrink during the edit phase, it will back to the actual value upon save.

REPOSITORY
  R39 KTextEditor

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

To: xuetianweng, #ktexteditor, cullmann, dhaumann, #frameworks, rjvbb
Cc: 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/20200507/109385a5/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list