The problem: When running under the wayland compositor Sway configured to 2x HiDPI scaling one gets blurry fonts in the main editing area.
I found the following somewhat hacky solution:
add ("retina-factor" "on") to ~/.Xmacs/system/preferences.scm
Run mogan with the flag "-platform wayland" to get Qt run in wayland mode.
I think a low-hanging fruit would be to expose the retina-factor setting to the user in the "High resolution settings" menu, as presently it is not shown for non-macOS users. I think there is probably some proper fix as well to handle other scaling ratios than 2 etc., but as I am not very familiar with either wayland or the internals of TeXmacs, I don't know what it is.
The problem: When running under the wayland compositor Sway configured to 2x HiDPI scaling one gets blurry fonts in the main editing area.
I found the following somewhat hacky solution:
I think a low-hanging fruit would be to expose the retina-factor setting to the user in the "High resolution settings" menu, as presently it is not shown for non-macOS users. I think there is probably some proper fix as well to handle other scaling ratios than 2 etc., but as I am not very familiar with either wayland or the internals of TeXmacs, I don't know what it is.