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:
9 files changed
+73
-8
No files matched your search
@@ -344,7 +344,10 @@ esac
|
||||
# Navigateur de base ajouté DÈS QU'un bureau est choisi (jamais en CLI).
|
||||
# + python-gobject : fenêtre de bienvenue fws-hello (GTK3 vient avec Firefox)
|
||||
# + pacman-contrib : checkupdates/paccache (indicateur de MàJ + fws-update)
|
||||
[ -n "$PKGS" ] && PKGS="$PKGS firefox python-gobject pacman-contrib"
|
||||
# + noto-fonts-emoji : police emoji par défaut, dans la MÊME transaction que le
|
||||
# bureau (règle fontconfig : etc/fonts/conf.d/99-fws-emoji.conf) — sans elle,
|
||||
# les emoji des notifications/menus s'affichent en carrés vides.
|
||||
[ -n "$PKGS" ] && PKGS="$PKGS firefox python-gobject pacman-contrib noto-fonts-emoji"
|
||||
if [ -n "$PKGS" ]; then
|
||||
pacman-key --init &>/dev/null || true
|
||||
pacman-key --populate archlinux &>/dev/null || true
|
||||
|
||||
Reference in new issue
Block a user