Our SWT-based Java application automatically uses the default font size for the operating system and displays other fonts. Consequently, GUI texts look great on hi-res screens (for example, 2880 x 1620 with Windows 8 configured as "Larger" in Control Panel> Appearance and Personalization> Display). Unfortunately, the images do not scale, so, for example, the toolbar buttons look too small.
In OS X, hi-res-screen processing seems simple: virtual resolution is half the size, but how to scale in Windows, which seems to allow non-integer scaling factors? How to determine when to scale and when not?
Update
This SWT issue seems to cover a similar issue.
source
share