libdraw: handle larger number of subfonts

This commit is contained in:
Russ Cox 2020-05-26 11:24:18 -04:00
parent bfe4377e40
commit a6ad39aaaa
3 changed files with 5 additions and 4 deletions

View file

@ -69,7 +69,7 @@ openfont1(Display *d, char *name)
n = _drawflength(fd);
if(fd < 0 && strncmp(fname, "/mnt/font/", 10) == 0) {
fd = _fontpipe(fname+10);
n = 128*1024;
n = 1024*1024;
}
if(fd < 0){
free(nambuf);