diff options
author | emaste <emaste@FreeBSD.org> | 2015-04-14 19:18:34 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-04-14 19:18:34 +0000 |
commit | 7b318600dd8d987d85d49ab252308a11f0dae1ad (patch) | |
tree | 3c96037d2851c2cd0e6a00dd526588272646f64c /sys/dev/vt | |
parent | 859bfca800e5145ce38320a0daf23a3b391089a2 (diff) | |
download | FreeBSD-src-7b318600dd8d987d85d49ab252308a11f0dae1ad.zip FreeBSD-src-7b318600dd8d987d85d49ab252308a11f0dae1ad.tar.gz |
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
Diffstat (limited to 'sys/dev/vt')
-rw-r--r-- | sys/dev/vt/vt_font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vt/vt_font.c b/sys/dev/vt/vt_font.c index b98115f..4c369c6 100644 --- a/sys/dev/vt/vt_font.c +++ b/sys/dev/vt/vt_font.c @@ -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 |