changed more things

Fixed rendering of Japanese text by adding an appropriate font to font2.
Might look at not using font2 and just relying fontconfig fallback
Although that doesn't appear to be happening now...
This commit is contained in:
Robert Morrison 2022-07-07 01:30:41 +01:00
parent 401a03df92
commit 01bebe23c4
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -9,7 +9,8 @@ static char *font = "monospace";
#if FONT2_PATCH #if FONT2_PATCH
/* Spare fonts */ /* Spare fonts */
static char *font2[] = { static char *font2[] = {
"Noto Color Emoji:size=8" "Noto Color Emoji:size=8",
"Noto Sans Mono CJK JP:size=10"
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */ /* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */ /* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
}; };