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

6
main.c
View File

@@ -5,7 +5,7 @@ Channel *drawc;
Channel *keyc;
Channel *dictreqc;
Channel *dictresc;
char *fontpath;
char *fontdir;
int
threadmaybackground(void)
@@ -16,7 +16,7 @@ threadmaybackground(void)
void
usage(void)
{
fprint(2, "usage: strans mapdir fontpath\n");
fprint(2, "usage: strans mapdir fontdir\n");
threadexitsall("usage");
}
@@ -60,7 +60,7 @@ threadmain(int argc, char **argv)
if(argc != 3)
usage();
fontpath = argv[2];
fontdir = argv[2];
drawc = chancreate(sizeof(Drawcmd), 0);
keyc = chancreate(sizeof(Keyreq), 0);
dictreqc = chancreate(sizeof(Dictreq), 4);