shithub: patch

ref: 03e776bc3cb3be7a0dede3de0fb6af99f43b357f
dir: /troff-nchars/

View raw version
troff: inflate maximum size of character set

this enables one to use fonts like unifont with troff.

don't use fonts like unifont with troff.

diff -r 79938a709ae3 sys/src/cmd/troff/tdef.h
--- a/sys/src/cmd/troff/tdef.h	Wed Jan 30 18:22:52 2019 +0100
+++ b/sys/src/cmd/troff/tdef.h	Mon Feb 11 10:44:11 2019 +0100
@@ -190,7 +190,7 @@
 		unnamed ones and \N's)
 	*/
 
-#define	NCHARS	(8*1024)	/* maximum size of troff character set*/
+#define	NCHARS	(64*1024)	/* maximum size of troff character set*/
 
 
 	/* However for nroff you want only :