- Treat scales below 100% as non-fractional, avoiding a division by zero
in the correction ratio and a bogus font size increase.
- Add app_get_fractional_scaling_part_percent() and use it in gsc_init.
- Move scaling tests to applib_tests and test the actual helper functions
instead of duplicated inline math; remove the gui_tests target.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GTK3 only supports integer scaling, so at e.g. 125% or 250% system scaling
the UI is rendered at 1x / 2x. Store the full system scale percentage and
scale the default (glade) window sizes by the remaining fractional ratio,
and increase the font size by the fractional amount.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>