mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
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
647795d181
commit
98457e0bb5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260160
@ -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…
Reference in New Issue
Block a user