ngraham created this revision. ngraham added reviewers: Plasma, ahmadsamir, bport. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. ngraham requested review of this revision.
REVISION SUMMARY By default, the "Small" font is 2 points smaller than the "Normal" one. However when you adjust the size of all fonts, this 2-pts-smaller relationship is not preserved, so the Small font is set to the same size of the Normal font, defeating its reason for existence. This patch preserves the "2px smaller" relationship between the Small and Normal fonts when adjusting all of them at once. BUG: 261344 FIXED-IN: 5.19.0 TEST PLAN F8258008: vokoscreenNG-2020-04-24_10-44-36.webm <https://phabricator.kde.org/F8258008> REPOSITORY R119 Plasma Desktop BRANCH make-small-font-smaller-when-changing-all-font-sizes (branched from master) REVISION DETAIL https://phabricator.kde.org/D29156 AFFECTED FILES kcms/fonts/fonts.cpp To: ngraham, #plasma, ahmadsamir, bport Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart