commit - bfe4377e409ce271c479665e6ef966a7b6008626
commit + a6ad39aaaa36b8aadc5c35bfc803afbde32918c0
blob - 926cc7486e6659298b41225b6df8ffc602448423
blob + 9a22e6b6229ea9881082b3d9ea8b8e3177e5b03e
--- include/draw.h
+++ include/draw.h
Display *display;
short height; /* max height of image, interline spacing */
short ascent; /* top of image to baseline */
- short width; /* widest so far; used in caching only */
- short nsub; /* number of subfonts */
+ short width; /* widest so far; used in caching only */
+ int nsub; /* number of subfonts */
u32int age; /* increasing counter; used for LRU */
int maxdepth; /* maximum depth of all loaded subfonts */
int ncache; /* size of cache */
extern Font *font;
extern Image *screen;
extern Screen *_screen;
+extern int drawmousemask; /* set bits to disable receiving those buttons */
extern int _cursorfd;
extern int _drawdebug; /* set to 1 to see errors from flushimage */
extern void _setdrawop(Display*, Drawop);
blob - b0c7abfac707614d3b2a96f49a25febb017082e6
blob + f2d82f1905711bd066525f0ca13645330be4ad68
--- man/man3/cachechars.3
+++ man/man3/cachechars.3
short height; /* max ht of image;interline space*/
short ascent; /* top of image to baseline */
short width; /* widest so far; used in caching */
- short nsub; /* number of subfonts */
+ int nsub; /* number of subfonts */
ulong age; /* increasing counter; for LRU */
int ncache; /* size of cache */
int nsubf; /* size of subfont list */
blob - 9312eb437f801f3057af39072757655d60258eaa
blob + 8714a8c7fff6ea442a8fbd41c425abf535ec4471
--- src/libdraw/openfont.c
+++ src/libdraw/openfont.c
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);