Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 19:18:34 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281537 - head/sys/dev/vt
Message-ID:  <201504141918.t3EJIYQE049894@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Apr 14 19:18:34 2015
New Revision: 281537
URL: https://svnweb.freebsd.org/changeset/base/281537

Log:
  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

Modified:
  head/sys/dev/vt/vt_font.c

Modified: head/sys/dev/vt/vt_font.c
==============================================================================
--- head/sys/dev/vt/vt_font.c	Tue Apr 14 19:07:37 2015	(r281536)
+++ head/sys/dev/vt/vt_font.c	Tue Apr 14 19:18:34 2015	(r281537)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504141918.t3EJIYQE049894>