popup: use system fonts exclusively

This commit is contained in:
2026-08-14 15:17:00 +09:00
parent 54355b8190
commit 08369e718e
14 changed files with 34 additions and 116 deletions

View File

@@ -67,7 +67,6 @@ struct Test
char bus[448];
char home[320];
char socket[384];
char missing[384];
char addrfile[512];
char addrbase[256];
char firstaddress[512];
@@ -221,9 +220,7 @@ setup(Test *t)
snprintf(t->home, sizeof t->home, "%s/home", t->root)
>= (int)sizeof t->home ||
snprintf(t->socket, sizeof t->socket, "%s/strans.sock", t->runtime)
>= (int)sizeof t->socket ||
snprintf(t->missing, sizeof t->missing, "%s/missing-font.ttf", t->root)
>= (int)sizeof t->missing)
>= (int)sizeof t->socket)
return fail("temporary path is too long");
if(!makedir(t->runtime) || !makedir(t->config) || !makedir(t->ibus) ||
!makedir(t->bus) || !makedir(t->home))
@@ -292,7 +289,7 @@ startchild(Test *t, char *program, char *mapdir, pid_t *child, int *errfd)
strerror(errno));
_exit(126);
}
execl(program, program, mapdir, t->missing, (char*)0);
execl(program, program, mapdir, (char*)0);
dprintf(STDERR_FILENO, "exec %s: %s\n", program, strerror(errno));
_exit(127);
}