Increase vt(9) max glyph data to 1MB for CJK fonts with many glyphs

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
emaste 2014-01-01 19:38:15 +00:00
parent 843c1c95ad
commit 597158b535

View File

@ -42,7 +42,7 @@ static MALLOC_DEFINE(M_VTFONT, "vtfont", "vt font");
/* Some limits to prevent abnormal fonts from being loaded. */
#define VTFONT_MAXMAPPINGS 8192
#define VTFONT_MAXGLYPHSIZE 262144
#define VTFONT_MAXGLYPHSIZE 1048576
#define VTFONT_MAXDIMENSION 128
static uint16_t