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

2020-05-06 Thread Frederick Yin
fakefred added a comment. In D25339#665351 , @xuetianweng wrote: > ... or you could give me some hint on that? Too bad I can't; it's been no more than a month since I began my study into KDE applications. I'd love to test out if someone

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

2020-05-05 Thread Frederick Yin
fakefred added a comment. I second the as-an-option proposal. Hey, why not automatically increase the line height when CJK characters are detected? REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D25339 To: xuetianweng, #ktexteditor, cullmann, dhaumann,

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

2020-05-04 Thread Frederick Yin
fakefred added a comment. In D25339#663322 , @rjvbb wrote: > but that's hardly the domain of application for a text editing framework. It's "KTextEditor", not "KCodeEditor". This rendering issue, though not from an "intended purpose",

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

2020-05-04 Thread Frederick Yin
fakefred added a comment. So I tested this, great improvements regarding line height can be seen: F8283136: kate_1.png 在使用本身就是 CJK 的字体时,显示仍然正常。 F8283141: kate_2.png REPOSITORY R39 KTextEditor REVISION