Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save timrichardson/f3be87134d2a06737b6b6678394be01e to your computer and use it in GitHub Desktop.
Save timrichardson/f3be87134d2a06737b6b6678394be01e to your computer and use it in GitHub Desktop.
Turn off bitmap fonts for Calibri in Linux
# put this in ~/.config/fontconfig (~ means in your home directory)
# this is relvevant if if you copied Calibri from a Windows fonts directory into your Linux install
# this way you get the latest version of Windows fonts, but the bitmapping for Calibri is not really designed to be used
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test qual="all" name="family" compare="contains">
<string>Calibri</string>
</test>
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment