Increase vt font limits to allow use of GNU Unifont
PR: 199438 Submitted by: Ting-Wei Lan <lantw44@gmail.com> MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3d1bbe5fa0
commit
a04eaf906b
@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$");
|
||||
static MALLOC_DEFINE(M_VTFONT, "vtfont", "vt font");
|
||||
|
||||
/* Some limits to prevent abnormal fonts from being loaded. */
|
||||
#define VTFONT_MAXMAPPINGS 8192
|
||||
#define VTFONT_MAXGLYPHSIZE 1048576
|
||||
#define VTFONT_MAXMAPPINGS 65536
|
||||
#define VTFONT_MAXGLYPHSIZE 2097152
|
||||
#define VTFONT_MAXDIMENSION 128
|
||||
|
||||
static uint16_t
|
||||
|
Loading…
Reference in New Issue
Block a user