This reverts commit 8ec65905b1.
8ec65905b1
This change ensures better scaling behavior for high-DPI displays by switching from Font-based scaling to DPI-based scaling. The modification improves the visual consistency of the application across different screen resolutions.