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