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

Xuetian Weng noreply at phabricator.kde.org
Sat Nov 16 17:19:45 GMT 2019


xuetianweng created this revision.
xuetianweng added a reviewer: KTextEditor.
xuetianweng added projects: Kate, Frameworks.
xuetianweng requested review of this revision.

REVISION SUMMARY
  When a font has fallback, the fontHeight is broken can may cut the string
  in the middle in the line. Try to use some representive character from multiple
  languages to estimate the actual fontHeight.
  
  BUG: 404907

TEST PLAN
  Manually tested.

REPOSITORY
  R39 KTextEditor

BRANCH
  master

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

AFFECTED FILES
  src/render/katerenderer.cpp

To: xuetianweng, #ktexteditor
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/kde-frameworks-devel/attachments/20191116/3eba5d91/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list