Breeze ships with 24 and 48 px cursors, and recently added 36 px in
D4358. However, with modern screen resolutions coming in all over the
place, there need to be more options. For example, my 14" WQHD display
with a scaling factor of 1.67 looks best with a (24 * 1.67 =) 40 px
cursor. Beyond that, 6k and 8k displays are not far off. KDE already
supports a 3X scaling mode, but doesn't come with a cursor size suitable
for it. GNOME's Adwaita theme already supports 24, 32, 48, 64, and 96
px cursor options. Breeze should have at least the same options.
This change turns the xcursorgen config files into something that can
be processed to generate arbitrary size cursors. The build script has
been modified to iterate over a list of sizes that can be changed as
desired without having to change any hardcoded values. Pointer x-y
hit values are interpolated, and where they fall between pixels, they
are rounded to the nearest pixel. This does not seem to affect
usability, especially on the high-dpi displays for which the cursors
are intended.
Please see Bug #363147 for additional commentary.
https://bugs.kde.org/show_bug.cgi?id=363147