Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 15:32:13 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r281933 - stable/10/sys/dev/vt
Message-ID:  <201504241532.t3OFWDX4051624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Apr 24 15:32:12 2015
New Revision: 281933
URL: https://svnweb.freebsd.org/changeset/base/281933

Log:
  MFC r281537: Increase vt font limits to allow use of GNU Unifont
  
  PR:		199438
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/sys/dev/vt/vt_font.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/vt/vt_font.c
==============================================================================
--- stable/10/sys/dev/vt/vt_font.c	Fri Apr 24 14:47:53 2015	(r281932)
+++ stable/10/sys/dev/vt/vt_font.c	Fri Apr 24 15:32:12 2015	(r281933)
@@ -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?201504241532.t3OFWDX4051624>