Add CN fonts fallback
This commit is contained in:
parent
385e50a560
commit
32068c288e
2 changed files with 12 additions and 2 deletions
|
|
@ -9,6 +9,11 @@
|
||||||
# Nerd Fonts with programming ligatures and icon support
|
# Nerd Fonts with programming ligatures and icon support
|
||||||
nerd-fonts.fira-code
|
nerd-fonts.fira-code
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
|
|
||||||
|
# CJK fonts for proper Chinese/Japanese/Korean character display
|
||||||
|
noto-fonts-cjk-sans # Comprehensive CJK support
|
||||||
|
noto-fonts-cjk-serif # Serif CJK text support
|
||||||
|
source-han-sans # High-quality CJK font alternative
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable font configuration
|
# Enable font configuration
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,13 @@
|
||||||
package = null; # Use system-installed Ghostty
|
package = null; # Use system-installed Ghostty
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
# Font settings
|
# Font settings with CJK fallback
|
||||||
font-family = "JetBrainsMono Nerd Font Mono";
|
font-family = [
|
||||||
|
"JetBrainsMono Nerd Font Mono" # Primary font for Latin + symbols
|
||||||
|
"Noto Sans CJK SC" # Simplified Chinese fallback
|
||||||
|
"Noto Sans CJK TC" # Traditional Chinese fallback
|
||||||
|
"Source Han Sans" # Alternative CJK fallback
|
||||||
|
];
|
||||||
font-size = 14;
|
font-size = 14;
|
||||||
|
|
||||||
# Gruvbox Dark Theme (matching tmux theme)
|
# Gruvbox Dark Theme (matching tmux theme)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue