Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2014 19:38:15 +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: r260160 - head/sys/dev/vt
Message-ID:  <201401011938.s01JcFnD098531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Jan  1 19:38:15 2014
New Revision: 260160
URL: http://svnweb.freebsd.org/changeset/base/260160

Log:
  Increase vt(9) max glyph data to 1MB for CJK fonts with many glyphs
  
  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	Wed Jan  1 02:49:45 2014	(r260159)
+++ head/sys/dev/vt/vt_font.c	Wed Jan  1 19:38:15 2014	(r260160)
@@ -42,7 +42,7 @@ static MALLOC_DEFINE(M_VTFONT, "vtfont",
 
 /* Some limits to prevent abnormal fonts from being loaded. */
 #define	VTFONT_MAXMAPPINGS	8192
-#define	VTFONT_MAXGLYPHSIZE	262144
+#define	VTFONT_MAXGLYPHSIZE	1048576
 #define	VTFONT_MAXDIMENSION	128
 
 static uint16_t



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