When first installing JOSM on Arch with Wayland and Hyprland, the java app was blurring all the text. (My resolution is 1920x1080)
It was an XWayland and auto-scaling problem. I solved it by disabling auto-scaling and setting GDK_SCALE in my hyprland.conf
Here’s how:
Add this to ~/.config/hypr/hyprland.conf :
# Set static scaling (2 is big for laptops)
env = GDK_SCALE,2
# Tell xwayland to not auto-scale any Xorg programs
xwayland {
force_zero_scaling = true
}
This might apply to all Wayland systems, but I don’t know how to configure others.
I also use GDK_SCALE=2, because by default JOSMs interface is too small on my monitor. When I only use a laptop, it is ok. There is a much bigger difference between the size of the interface on the monitor and the laptop in other applications than in JOSM. The ideal size would be in the middle, but GDK_SCALE does not accept fractional values and I am not sure there is a setting in JOSM to just make fonts and icons slightly bigger.
Open the settings with F12. You might need to activate “Expert Mode”.
The sizes of icons can be changed in the “Advanced Preferences” tab. Search for iconsize. iconsize.largeicon for example changes the size of the toolbar icons. I can’t remember if the size of the text can be changed as well.
I recommend as well to switch through the “look and feel” options in the “Display” tab. The GTK+ setting was not working very well for me, but I’m on X11 not wayland.
I am not sure which icons sizes those icons change. Anyway, my main problem is with the font size and I see no settings to that effect there (which I am kind of surprised by, JOSM is normally quite customizable).
Hm, that just leads to a mix of big and small letters, very inconsistent :-( . I set all scales I could find to 2. See how "Bing Aerial imagery! has a nice big text but “Layers” just above that is almost unreadable.