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

@ -165,7 +165,7 @@ struct Font {
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 */