Non-integer values for the Java2d.uiScale parameter does not scale the client
OS/kernel: EndeavourOS / Linux 6.16.3-arch1-1 DE: KDE Plasma 6.4.4 WM: kwin
When I set the RuneLite launch command in the settings to be: %command% -J -Dsun.java2d.uiScale=2, my RuneLite client will scale.
However if I change the setting to a non-integer value, such as 1.5, it will not scale at all.
The only way I have found to do non-integer scaling of RuneLite via Bolt is to set the following setting for my display:
- Set
Legacy applications (X11)setting toScaled by the system.
This will scale RuneLite by the percent I specify for the display, but also other applications I am using, so it is not ideal.
I have tried setting Java environment variables and using a custom RuneLite JAR, and it does not work.
RuneLite's scale setting has only ever worked with integer values as far as I know. An easier way to change it is in the "Configure RuneLite" menu in the settings, but it will do the same thing.
Hey Adam, thanks for the response. I asked about RuneLite's scale setting in this issue and one responder said RuneLite does support non-integer scaling: https://github.com/runelite/runelite/issues/18259#issuecomment-3218757029
I'll ask further on that PR; I'm definitely in the same camp as you. I have tried a few methods to scale RuneLite with non-integers to no avail.