summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-04-14 19:18:34 +0000
committeremaste <emaste@FreeBSD.org>2015-04-14 19:18:34 +0000
commit7b318600dd8d987d85d49ab252308a11f0dae1ad (patch)
tree3c96037d2851c2cd0e6a00dd526588272646f64c /sys/dev/vt
parent859bfca800e5145ce38320a0daf23a3b391089a2 (diff)
downloadFreeBSD-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.c4
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
OpenPOWER on IntegriCloud