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

Xuetian Weng <[email protected]>
Newsgroups gmane.comp.kde.devel.frameworks,gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
xuetianweng added a comment.


  In D25339#663915 <https://phabricator.kde.org/D25339#663915>, @fakefred wrote:
  
  > I second the as-an-option proposal. Hey, why not automatically increase the line height when CJK characters are detected?
  
  
  So the thing is we need to maintain a such height depending on the document, not so sure if that is even possible (or whether it could be costly) or you could give me some hint on that?
  Actually, I'd rather to calculate the height based on actual character in the document because during my test, mixing Arabic together to CJK and latin could still have problem (likely same for Cyrillic).

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.