commit d5ad0965b955e167c1def42a448b2384cd667587
parent 2f71540fe06a9a246f3cf32709306a4169182c07
Author: averagecoder <averagecoder@noreply.codeberg.org>
Date: Tue, 30 Jun 2026 02:00:56 +0300
fix: chat utf font
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/render.c b/src/render.c
@@ -754,13 +754,9 @@ gfx_init(struct sys_gfx *g)
XFreeCursor(g->dpy, no_ptr);
XFreePixmap(g->dpy, bm_no);
- g->font_set = XCreateFontSet(g->dpy, "-misc-fixed-medium-r-normal--14-*,*",
+ g->font_set = XCreateFontSet(g->dpy, "-*-*-medium-r-normal-*-14-*-*-*-*-*-iso10646-1",
&missing_charsets, &missing_count, &def_string);
if (!g->font_set) {
- g->font_set = XCreateFontSet(g->dpy, "-*-fixed-medium-r-normal--14-*,*",
- &missing_charsets, &missing_count, &def_string);
- }
- if (!g->font_set) {
g->font_set = XCreateFontSet(g->dpy, "fixed",
&missing_charsets, &missing_count, &def_string);
}