use "emoji" as fallback font to prevent crash when emoji is not found

This commit is contained in:
ant 2026-03-12 21:13:02 +01:00
parent 0814fc7a5d
commit 4c439e7b8e

View file

@ -8,7 +8,7 @@
static char *font = "Cascadia Code NF:regular:pixelsize=13.5:fontfeatures=calt,ss01:antialias=true:autohint=true";
#if FONT2_PATCH
/* Spare fonts */
static char *font2[] = { "CaskaydiaCove Nerd Font:pixelsize=13.5:antialias=true:autohint=true" };
static char *font2[] = { "emoji:pixelsize=13.5:antialias=true:autohint=true" };
#endif // FONT2_PATCH
#if BACKGROUND_IMAGE_PATCH