Increase vt(9) max glyph data to 1MB for CJK fonts with many glyphs
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
843c1c95ad
commit
597158b535
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user