-
-
Save botmaster/c591bb48586e87f42e680d3813a8005d to your computer and use it in GitHub Desktop.
Enabling Color Emoji in Chrome (Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
You need Noto Color Emoji installed in your machine. | |
Save this file in ~/.config/fontconfig/conf.d/ or /etc/fonts/conf.d/ (system-wide) | |
--> | |
<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