From 641403d9c13c4111db4c80ea103febde82818905 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 26 Aug 2026 00:40:12 +0800 Subject: Add fallback fonts to make Chinese and emoji work According to example in commit 14343e69cc596b847f71f1e825d3019ab1a29aa8 --- config.def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index c8b0212..eb617a3 100644 --- a/config.def.h +++ b/config.def.h @@ -7,7 +7,11 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=11" }; +static const char *fonts[] = { + "Noto Sans Mono:size=11", + "Noto Sans Mono CJK SC:size=11", + "Noto Color Emoji:size=11" +}; static const char dmenufont[] = "monospace:size=11"; /* -- cgit v1.3.1