Forked from IgnoredAmbience/99-noto-mono-color-emoji.conf
Last active
November 10, 2023 14:33
-
-
Save yzhernand/10bc8824e1018a4e7709c73b6c33bc01 to your computer and use it in GitHub Desktop.
Noto Emoji Color fontconfig for Konsole
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" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
Noto Mono + Color Emoji Font Configuration. | |
This config seems to ensure that *all* monospace fonts are affected without breaking | |
<code> blocks elsewhere. The significant change appears to be setting binding="weak" | |
on line 22. | |
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole. | |
Usage: | |
0. Ensure that the Noto fonts are installed on your machine. | |
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf | |
2. Run `fc-cache` | |
3. Set Konsole to use "Noto Mono" as the font. | |
4. Restart Konsole. | |
--> | |
<fontconfig> | |
<match> | |
<test name="family"><string>Monospace</string></test> | |
<edit name="family" mode="append_last" binding="weak"> | |
<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
Awesome, this works fine on my Ubuntu 22 LTS 👌