shithub: riscv

Download patch

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

printfont: load all fonts for `printfont all`

--- a/sys/lib/postscript/prologues/printfont.ps
+++ b/sys/lib/postscript/prologues/printfont.ps
@@ -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
+++ b/sys/src/cmd/postscript/printfont/printfont.ps
@@ -283,6 +283,7 @@
 %
 
 /AllFonts {
+	(*) {findfont pop} 100 string /Font resourceforall
 	/AllFontNames FontDirectory maxlength array def
 	AllFontNames 0 0 put