Skip to content

Instantly share code, notes, and snippets.

@jlouiss
Created October 6, 2018 13:10
Show Gist options
  • Save jlouiss/cbb6a430590605a82c987964c218ab2c to your computer and use it in GitHub Desktop.
Save jlouiss/cbb6a430590605a82c987964c218ab2c to your computer and use it in GitHub Desktop.
emoji on arch linux
https://github.com/googlei18n/noto-emoji/issues/36#issuecomment-343655365
[ugjka@archee ~]$ cat /etc/fonts/conf.d/50-noto-color-emoji.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="scan">
<test name="family">
<string>Noto Color Emoji</string>
</test>
<edit name="scalable" mode="assign">
<bool>true</bool>
</edit>
<edit name="pixelsize" mode="assign">
<double>18</double>
</edit>
</match>
<match>
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="weak">
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="weak">
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family"><string>Apple Color Emoji</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment