From cf11b9ad6c498f9796c2ac59a6b13a241a7ed9b3 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 24 Apr 2015 15:32:12 +0000 Subject: [PATCH] MFC r281537: Increase vt font limits to allow use of GNU Unifont PR: 199438 Sponsored by: The FreeBSD Foundation git-svn-id: svn://svn.freebsd.org/base/stable/10@281933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/vt/vt_font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/vt/vt_font.c b/sys/dev/vt/vt_font.c index b98115f9d..4c369c68b 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 -- 2.45.0