Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
Created May 28, 2020 17:00
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AntonFriberg/d9d0e7a6316cd8badfaaf1c81fa8b150 to your computer and use it in GitHub Desktop.
Save AntonFriberg/d9d0e7a6316cd8badfaaf1c81fa8b150 to your computer and use it in GitHub Desktop.
Fix ugly Calibri, Cambria font rendering on Linux
<!-- Add this to your font configuration e.g ~/.config/fontconfig/fonts.conf -->
<!-- Note that this will disable all embedded bitmaps in fonts that use them -->
<!-- disable embedded bitmaps in fonts to fix Calibri, Cambria, etc. -->
<match target="font">
<edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
</match>
@AntonFriberg
Copy link
Author

Did not know that font rendering could affect printing. Perhaps it depends on the printer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment