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

Christoph Cullmann noreply at phabricator.kde.org
Sun Nov 17 12:37:51 GMT 2019


cullmann added a comment.


  The issue with this approach is, that you get "too high" lines for the case that none of this characters ever appear.
  Beside that, unfortunately, you get rendering artifacts in addition, as Qt will not paint e.g. selection high enough for lines without such chars.
  
  See e.g. attached screenshot.F7768081: rendering_issue.png <https://phabricator.kde.org/F7768081>

REPOSITORY
  R39 KTextEditor

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

To: xuetianweng, #ktexteditor, cullmann, dhaumann
Cc: kde-frameworks-devel, kwrite-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191117/87895003/attachment.html>


More information about the KWrite-Devel mailing list