D29789: Make text always align with font base line

Xuetian Weng <[email protected]>
Newsgroups gmane.comp.kde.devel.frameworks,gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
xuetianweng created this revision.
xuetianweng added reviewers: rjvbb, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
xuetianweng requested review of this revision.

REVISION SUMMARY
  When font uses other fallback font, the base line may change to make all
  text on the same baseline. But when we render the text, we should always
  follow the baseline from FontMetrics to avoid text baseline jump up and
  down depending on the text in the line.

TEST PLAN
  Text manually with some mixed text.

REPOSITORY
  R39 KTextEditor

BRANCH
  master

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

AFFECTED FILES
  src/render/katerenderer.cpp
  src/render/katerenderer.h

To: xuetianweng, rjvbb, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, 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.