Author: emaste
Date: Fri Apr 24 15:34:20 2015
New Revision: 281934
URL: https://svnweb.freebsd.org/changeset/base/281934

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

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

Modified: stable/9/sys/dev/vt/vt_font.c
==============================================================================
--- stable/9/sys/dev/vt/vt_font.c       Fri Apr 24 15:32:12 2015        
(r281933)
+++ stable/9/sys/dev/vt/vt_font.c       Fri Apr 24 15:34:20 2015        
(r281934)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to