Font rendering on Wayland

Post here topics for SoftMaker Office NX and 2024 for Linux that do not fit in any of the application-specific subforums.
Post Reply
smcstewart
Posts: 3
Joined: Sat Nov 16, 2024 11:46 am

Font rendering on Wayland

Post by smcstewart »

I've got a niggle with font rendering in Wayland running on ZorinOS. I've attached a screenshot of the basic system below.

Fonts for all Office NX apps, fonts are blurry, which is similar to what I've found with Electron apps (screenshot at the bottom). The workaround for Electron apps is to add in the options to the desktop file the following:

Code: Select all

--enable-ozone --enable-features=UseOzonePlatform --ozone-platform-hint=auto
, which I did for PlanMaker, but it made no difference.

I've also tried testing with both the "DPI" and "Smooth edges of screen fonts", but neither makes any discernible difference.

Just wondering if anyone else has come across something similar and perhaps how they resolved it.
Screenshot from 2024-11-16 19-49-35.png
Screenshot from 2024-11-16 19-56-19.png
lgsl
Posts: 163
Joined: Wed Mar 04, 2020 8:00 pm

Re: Font rendering on Wayland

Post by lgsl »

smcstewart wrote: Sat Nov 16, 2024 8:58 pm

Code: Select all

--enable-ozone --enable-features=UseOzonePlatform --ozone-platform-hint=auto
This will never work because is only applicable for Electron.

Go to Settings => Appearance and set "Smooth edges of screen fonts" to Subpixel.

If this do not work then:
1. The way ZorinOS is rendering fonts isn't optimal. Hence why you also experience this with Electron Apps. (This is quite probable)
2. You set GNOME to scale and it is forcing to scale SMO somehow and creating such distortions. If so try turning off the scaling.
3. Because of the nature of Wayland and how many things are implemented trying running SMO in xorg/x11 instead may also do the trick.
smcstewart
Posts: 3
Joined: Sat Nov 16, 2024 11:46 am

Re: Font rendering on Wayland

Post by smcstewart »

Thanks for that. You're spot on - it's Fractional Scaling. As soon as I have it turned on, blurry, even at a whole percentage. Turn Fractional Scaling off, and everything is AOK. Just need to suck it until Fractional Scaling is working better on Linux.

Appreciate the insight, thanks.
Post Reply

Return to “SoftMaker Office NX and 2024 for Linux (General)”