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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"