Skip to content

Instantly share code, notes, and snippets.

@pschmitt
Last active October 29, 2020 10:46
Show Gist options
  • Save pschmitt/583bd1efc1681aefd2a5734e106cb32e to your computer and use it in GitHub Desktop.
Save pschmitt/583bd1efc1681aefd2a5734e106cb32e to your computer and use it in GitHub Desktop.
Emoji font fix for KDE Plasma 5.19 (Manjaro Linux)
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<edit name="family" mode="append">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
@pschmitt
Copy link
Author

Installation:

curl -fsSL https://gist.githubusercontent.com/pschmitt/583bd1efc1681aefd2a5734e106cb32e/raw/c7ebcdea7b119abfab9abd5772c450b94ffe574d/local.conf | \
  sudo tee /etc/fonts/local.conf

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