Created
April 12, 2021 05:56
-
-
Save timrichardson/f3be87134d2a06737b6b6678394be01e to your computer and use it in GitHub Desktop.
Turn off bitmap fonts for Calibri in Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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