gui: Add more fonts as fallback

This commit is contained in:
ulic-youthlic 2025-07-18 22:38:49 +08:00
parent 210882a209
commit e4aac72779
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 10 additions and 5 deletions

View file

@ -27,8 +27,8 @@
name = "Maple Mono NF CN";
};
emoji = {
package = pkgs.noto-fonts-emoji-blob-bin;
name = "Blobemoji";
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
};
};

View file

@ -27,8 +27,8 @@
name = "Maple Mono NF CN";
};
emoji = {
package = pkgs.noto-fonts-emoji-blob-bin;
name = "Blobmoji";
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
};
};

View file

@ -37,20 +37,25 @@ in {
source-han-sans
libertinus
noto-fonts-color-emoji
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts
];
fontconfig.defaultFonts = {
serif = [
"Libertinus Serif"
"Source Han Serif"
"Noto Serif CJK SC"
];
sansSerif = [
"Source Han Sans"
"Noto Sans CJK SC"
];
monospace = [
"Maple Mono NF CN"
"Noto Sans Mono SC"
];
emoji = [
"Blobmoji"
"Noto Color Emoji"
];
};