0
我上的.PS(PDF)文件並將其顯示在終端上運行使用下面的命令的ghostscript:運行的ghostscript
gs -sDEVICE=display -dNOPAUSE graph.ps
其中graph.gs是含有的PS文件圖和gs = ghostscript(https://ghostscript.com/)。我是ghostscript的新手,所以忽略任何愚蠢。 當我運行詹金斯的工作,我得到如下:
GS>+ gs -sDEVICE=display -dNOPAUSE graph.ps
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Querying operating system for font files...
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 3508768 2086694 2448692 1153761 2 done.
Loading NimbusRomNo9L-ReguItal font from /usr/share/fonts/default/Type1/n021023l.pfb... 3552240 2216374 2670716 1352857 2 done.
Loading NimbusRomNo9L-Medi font from /usr/share/fonts/default/Type1/n021004l.pfb... 3699560 2367722 2670716 1358308 2 done.
Loading NimbusRomNo9L-MediItal font from /usr/share/fonts/default/Type1/n021024l.pfb... 3843664 2501778 2670716 1363735 2 done.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 3967136 2627944 2670716 1369394 2 done.
Loading NimbusSanL-ReguItal font from /usr/share/fonts/default/Type1/n019023l.pfb... 4087536 2738966 2670716 1374709 2 done.
Loading NimbusSanL-Bold font from /usr/share/fonts/default/Type1/n019004l.pfb... 4189080 2849279 2690900 1383454 2 done.
Loading NimbusSanL-BoldItal font from /usr/share/fonts/default/Type1/n019024l.pfb... 4309544 2961260 2690900 1388681 2 done.
Loading NimbusMonL-Regu font from /usr/share/fonts/default/Type1/n022003l.pfb... 4453408 2977287 2659800 1099632 2 done.
Loading NimbusMonL-ReguObli font from /usr/share/fonts/default/Type1/n022023l.pfb... 4513832 3098942 2659800 1105017 2 done.
Loading NimbusMonL-Bold font from /usr/share/fonts/default/Type1/n022004l.pfb... 4677928 3250154 2659800 1110244 2 done.
Loading NimbusMonL-BoldObli font from /usr/share/fonts/default/Type1/n022024l.pfb... 4817392 3385828 2659800 1115471 2 done.
這不打印詹金斯控制檯輸出(stdout)的PS文件圖像。我做錯了什麼,我該如何解決。
我使用graphviz創建了一個由terraform創建的簡單圖形:terraform graph> graph.dot; dot -Tps graph.dot -o graph.ps,我想在控制檯上顯示。如果不是ghostscript,是否有任何工具可以做到這一點? – Scooby
再一次,我不確定你在問什麼。你想要一個ASCII圖形的藝術表現嗎?來自位圖圖像(例如PNG)的二進制數據?還有別的嗎?可能我不明白你對'控制檯'的使用,也許詹金斯除了控制檯的簡單終端以外還有其他的東西。對於終端窗口,您不能「顯示」呈現的輸出,就像詢問如何在控制檯上顯示您的狗的照片一樣。 – KenS
是圖形的ascii表示。 – Scooby