GNOME Shell Lands Improved Icon & Text Scaling

Written by Michael Larabel in GNOME on 5 December 2023 at 11:55 AM EST. 7 Comments
GNOME
GNOME Shell has merged a set of 35 patches to fix/improve icon and text scaling support, especially when using the Large Text mode for accessibility.

Sam Hewitt explained in the merge request:
This is a pretty wide-ranging update to help address shortcomings/bugs with scaling when folks use the Large Text feature as well as make elements use common padding and margin values.

- new drawing function to convert px to em, for select instances
- updated fontsize function to convert fonts in pt to em; replace/update instances of labels not using fontsize()
- replace instances of discrete margin and padding sizes with defined values and a multiplier
- fix instances where assets or icons did not scale along with text
- rework panel buttons to accommodate the scaling padding and icons
- new 'scalable' definitions for padding and icons to use in elements that follow text scaling

In turn this closes a handful of text-related bugs with GNOME Shell. The quick setting subtitle now follows the text scaling factor, icons not scaling in some places with increased font scaling, app folder issues with the Large Text option, and similar bugs.

GNOME Shell


See the merge request for more details on this improved icon and text scaling for the GNOME Shell.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week