I tried different font settings in the font settings and it didn’t improve much (font hinting, anti aliasing, custom DPI settings, different font size)
The font is the default one which is Ubuntu Regular with font size set to 10
Sub pixel order is set properly to RGB Linux Mint xfce
Even when running windows in a virtual machine, the font rendering in it is miles ahead of what I got on my Linux setup!!!
Look into ArchWiki “font configuration” > hinting, you seem to have issues.
https://wiki.archlinux.org/title/font_configuration#Hinting
Thanks. And sorry.
This is a correct recommendation, however in Debian-based distros you don’t need to edit configuration files manually. Just pick some of preinstalled configs. They are installed in
/usr/share/fontconfig/conf.avail
and symlinked to/etc/fonts/conf.d
.