feat(fonts): ship a configured default emoji font

Emoji showed up as empty boxes almost everywhere: no emoji font was installed
by default, and nothing told fontconfig which family to use for them, so
GTK/Qt/Electron apps and the installer fell back to whatever the system had.
Install Noto Color Emoji on the live image, with the desktop transaction and in
the hardware base, and add a fontconfig rule that resolves the "emoji" family,
appends it as a last resort for generic families without displacing the primary
font, and keeps bitmap emoji enabled when a no-bitmap rule is active. The
desktop font stacks (waybar, wofi, polybar) list it explicitly, and the
fontconfig cache is refreshed after installation.
This commit is contained in:
BlackAngelTV committed 2026-10-29 20:02:55 +01:00
1 parent 072d995113
commit 19b41a6483
9 files changed
+73 -8

No files matched your search

@@ -35,6 +35,8 @@ line-size = 0
font-0 = Noto Sans:size=10;2
font-1 = Symbols Nerd Font:size=12;3
font-2 = Noto Sans:weight=bold:size=10;2
; dernier recours = emoji (police par défaut, etc/fonts/conf.d/99-fws-emoji.conf)
font-3 = Noto Color Emoji:size=10;2
modules-left = i3 xwindow
modules-center = date
modules-right = updates keyhelp backlight pulseaudio network cpu memory tray power
@@ -3,7 +3,9 @@
(paquet ttf-nerd-fonts-symbols, installé avec le bureau Hyprland). */
* {
font-family: "Noto Sans", "Symbols Nerd Font", sans-serif;
/* Noto Color Emoji : dernier recours, pour les emoji des titres/notifications
(police par défaut, cf. etc/fonts/conf.d/99-fws-emoji.conf). */
font-family: "Noto Sans", "Symbols Nerd Font", "Noto Color Emoji", sans-serif;
font-size: 13px;
min-height: 0;
}
@@ -6,7 +6,7 @@ window {
background-color: rgba(30, 30, 46, 0.97);
border: 2px solid #89b4fa;
border-radius: 14px;
font-family: "Noto Sans Mono", monospace;
font-family: "Noto Sans Mono", "Noto Color Emoji", monospace;
font-size: 13px;
}
@@ -17,7 +17,7 @@ window {
border-radius: 10px;
margin: 12px;
padding: 8px 12px;
font-family: "Noto Sans", sans-serif;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
}
#input image { color: #89b4fa; }
@@ -4,7 +4,7 @@ window {
background-color: rgba(30, 30, 46, 0.96); /* base #1e1e2e */
border: 2px solid #89b4fa;
border-radius: 14px;
font-family: "Noto Sans", sans-serif;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-size: 14px;
}