D29156: [kcms/fonts] When adjusting all fonts, keep Small font size smaller

Nathaniel Graham noreply at phabricator.kde.org
Fri Apr 24 17:48:53 BST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200424/d05b1a92/attachment.html>


More information about the Plasma-devel mailing list