Skip to content

Instantly share code, notes, and snippets.

@johannesrld
Last active October 13, 2023 16:12
Show Gist options
  • Save johannesrld/06b80ae844feb889c34593d252b7aa0c to your computer and use it in GitHub Desktop.
Save johannesrld/06b80ae844feb889c34593d252b7aa0c to your computer and use it in GitHub Desktop.
personal fontconfig settings for arch
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit mode="assign" name="embeddedbitmap">
<bool>false</bool>
</edit>
<edit name="prefer_outline">
<bool>true</bool>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<alias binding="same">
<family>Times</family>
<accept>
<family>Times New Roman</family>
</accept>
</alias>
<alias binding="same">
<family>Courier</family>
<accept>
<family>Courier New</family>
</accept>
</alias>
</fontconfig>
@johannesrld
Copy link
Author

note: also install microsofts fonts from either copying them from your windows install or pirating legally obtaining them

@johannesrld
Copy link
Author

note: if you want flatpak applications to work with your config:

  1. Download flatseal
  2. Under "All applications" go to the filesystem section
  3. press the add folder button on the "Other files" setting
  4. add xdg-config/fontconfig:ro to the textbox
  5. Done

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