How to improve Fedora’s Font Rendering

I recently switched from UBUNTU GNOME to FEDORA, and one think that I noticed it’s that fonts rendering is ugly compared to Ubuntu.

I compared the Ubuntu and Fedora configuration:

xrdb -query

and make Fedora’s settings the same:

gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "hinting" "slight"
gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "antialiasing" "rgba"

By the way, You can change these settings also with “Gnome Tweak Tool”

su -c "yum install gnome-tweak-tool"

You can also enable font sub-pixel rendering:

echo "Xft.lcdfilter: lcddefault" > ~/.Xresources

Update: MS Calibri font look very bad… Create/add these settings on /etc/fonts/local.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font" >
        <edit name="embeddedbitmap" mode="assign">
            <bool>false</bool>
	</edit>
</match>
</fontconfig>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s