add emoji font.

fix: 97ae9b1709
This commit is contained in:
2025-12-28 19:50:38 +09:00
parent 72063f84b7
commit 874b941439
8 changed files with 67 additions and 20 deletions

4
win.c
View File

@@ -6,7 +6,7 @@ enum {
Asciitofull = 0xFEE0,
};
extern char *fontpath;
extern char *fontdir;
static xcb_connection_t *conn;
static xcb_screen_t *scr;
@@ -52,7 +52,7 @@ wininit(void)
gc = xcb_generate_id(conn);
xcb_create_gc(conn, gc, win, 0, nil);
img = emalloc(Imgw * Imgh * sizeof(img[0]));
fontinit(fontpath);
fontinit(fontdir);
}
static void