diff options
author | Russ Cox <rsc@swtch.com> | 2015-07-03 10:57:42 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2015-08-27 00:36:32 +0000 |
commit | 775cb933ecea6361717ef1def27b5d9e90c385fd (patch) | |
tree | 54ddbbe2d08575ba2d3de54fdeab57da74d7a4c7 /src/libdraw | |
parent | a78b1841be06709756d7fd3ccb6abac3a14a3cdb (diff) | |
download | plan9port-775cb933ecea6361717ef1def27b5d9e90c385fd.tar.gz plan9port-775cb933ecea6361717ef1def27b5d9e90c385fd.tar.bz2 plan9port-775cb933ecea6361717ef1def27b5d9e90c385fd.zip |
fontsrv: use 64 chars per subfont instead of 256
Makes loading faster, and makes larger sizes not too wide.
Change-Id: I076c83fdb9577c1e596de45558f38ea93e3a2a31
Reviewed-on: https://plan9port-review.googlesource.com/1360
Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/openfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/openfont.c b/src/libdraw/openfont.c index fdbc6563..b97ea22d 100644 --- a/src/libdraw/openfont.c +++ b/src/libdraw/openfont.c @@ -61,7 +61,7 @@ openfont1(Display *d, char *name) n = _drawflength(fd); if(fd < 0 && strncmp(fname, "/mnt/font/", 10) == 0) { fd = _fontpipe(fname+10); - n = 8192; + n = 128*1024; } if(fd < 0) return 0; |