Showing posts with label cambria. Show all posts
Showing posts with label cambria. Show all posts

Tuesday, August 4, 2020

Fixing fontconfig for proper rendering of Microsoft fonts

This post is more of a reminder / howto to *me* and is lifted from stefan.angrick's blog.

This, in particular, applies to Cambria and Calibri.

If it doesn't already exist, create a file fonts.conf in the directory ~/.config/fontconfig/  That file will need to contain the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="embeddedbitmap" mode="assign">
      <bool>false</bool>
    </edit>
  </match>
</fontconfig>