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

Xuetian Weng <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite,gmane.comp.kde.devel.frameworks
Message-ID <[email protected]>
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
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.