update font

This commit is contained in:
Nishi 2026-01-25 05:18:56 +09:00
commit 5a2f965295
Signed by: nishi
GPG key ID: 27EF69B208EB9343
12 changed files with 2066 additions and 2701 deletions

View file

@ -18,8 +18,9 @@ int main() {
int p = 0;
int y = 0;
int w, h;
GSFile file = GSFileOpen(NULL, "/dev/stdin");
while((linelen = GSFileGetLine(&line, &linesize, stdin)) != -1) {
while((linelen = GSFileGetLine(file, &line, &linesize)) != -1) {
linelen--;
line[linelen] = 0;
@ -30,8 +31,9 @@ int main() {
if(font != NULL) free(font);
iw = w * 16;
ih = h * 16;
iw = w * 16;
ih = h * 16;
font = malloc(iw * ih * 4);
memset(font, 0, iw * ih * 4);
} else if(CHECK("ENCODING ")) {