shithub: plan9front

Download patch

ref: fe1c8010de2d9c7383b6acf661e62579d404773e
parent: a0997f38c468d728ad5178fcdb203f1486be669b
author: Humm <hummsmith42@gmail.com>
date: Fri Apr 9 10:09:31 EDT 2021

printfont: load all fonts for `printfont all`

--- a/sys/lib/postscript/prologues/printfont.ps	Fri Apr  9 10:05:30 2021
+++ b/sys/lib/postscript/prologues/printfont.ps	Fri Apr  9 10:09:31 2021
@@ -283,6 +283,7 @@
 %
 
 /AllFonts {
+	(*) {findfont pop} 100 string /Font resourceforall
 	/AllFontNames FontDirectory maxlength array def
 	AllFontNames 0 0 put
 
--- a/sys/src/cmd/postscript/printfont/printfont.ps	Fri Apr  9 10:05:30 2021
+++ b/sys/src/cmd/postscript/printfont/printfont.ps	Fri Apr  9 10:09:31 2021
@@ -283,6 +283,7 @@
 %
 
 /AllFonts {
+	(*) {findfont pop} 100 string /Font resourceforall
 	/AllFontNames FontDirectory maxlength array def
 	AllFontNames 0 0 put