D25339: KateRenderer: Use representitive character in CJK to estimate the fontHeight.
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.
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...
More information about the KWrite-Devel