aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-05-26 11:24:18 -0400
committerRuss Cox <rsc@swtch.com>2020-05-29 20:58:37 -0400
commita6ad39aaaa36b8aadc5c35bfc803afbde32918c0 (patch)
tree67637b31c1eae3fc0dca402355065d87cc4083f7 /src/libdraw
parentbfe4377e409ce271c479665e6ef966a7b6008626 (diff)
downloadplan9port-a6ad39aaaa36b8aadc5c35bfc803afbde32918c0.tar.gz
plan9port-a6ad39aaaa36b8aadc5c35bfc803afbde32918c0.tar.bz2
plan9port-a6ad39aaaa36b8aadc5c35bfc803afbde32918c0.zip
libdraw: handle larger number of subfonts
Diffstat (limited to 'src/libdraw')
-rw-r--r--src/libdraw/openfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/openfont.c b/src/libdraw/openfont.c
index 9312eb43..8714a8c7 100644
--- a/src/libdraw/openfont.c
+++ b/src/libdraw/openfont.c
@@ -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);