summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-04-24 15:32:12 +0000
committeremaste <emaste@FreeBSD.org>2015-04-24 15:32:12 +0000
commite9c3a03985d85c8667363575dea65e86455b717e (patch)
treeca0cfeff044ad0eb84e1d50f4683010fb8c6393f /sys/dev/vt
parentcb88cb87a15c6a4065401a46d0e7029a1d3fea53 (diff)
downloadFreeBSD-src-e9c3a03985d85c8667363575dea65e86455b717e.zip
FreeBSD-src-e9c3a03985d85c8667363575dea65e86455b717e.tar.gz
MFC r281537: Increase vt font limits to allow use of GNU Unifont
PR: 199438 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