As Ubuntu obtains its packages from Debian repositories, I would like to know if Ubuntu developers do some modification to the original Debian packages to improve font rendering.
I ask this because I just installed Debian 10 and the font rendering is worse than Ubuntu, even after downloading Ubuntu fonts and configuring Gnome Tweaks to use it with the same values of Ubuntu (including Subpixel and Hinting values).
Thank you!
Best Answer
Yes, there are a number of differences between the Debian and Ubuntu versions of the
fontconfig
package, which is the package which handles font rendering:lcdlegacy
filter is applied to DejaVu Sans Mono up to 12 pixels;You can replicate all this on your Debian system:
/etc/fonts/conf.d/60-latin.conf
and swap the DejaVu and BitStream Vera entries;add
/etc/fonts/conf.d/53-monospace-lcd-filter.conf
with the following contents:add
/etc/fonts/conf.d/10-antialias.conf
with the following contents: