Skip to content

Instantly share code, notes, and snippets.

@Xachman
Created May 31, 2019 14:27
Show Gist options
  • Save Xachman/43dba4ccd093cbe8fcec546e7f7ff306 to your computer and use it in GitHub Desktop.
Save Xachman/43dba4ccd093cbe8fcec546e7f7ff306 to your computer and use it in GitHub Desktop.
Fix KDE Fonts -> ~/.config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
@Xachman
Copy link
Author

Xachman commented May 31, 2019

When using KDE on manjaro I ran into issues where fonts looked all jacked up on some applications. This seems to fix these issues.

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