PSricks 未顯示正確的字體和顏色

PSricks 未顯示正確的字體和顏色

我正在學習使用 PSricks。就此而言,我正在嘗試重現程式碼這個答案但我得到的是標準字體的黑色單詞,風格沒有任何變化。我唯一可以改變的是文字。

我的程式碼是(對於所引用答案中的第三個範例):

\documentclass{article}
\usepackage{pst-all}
\usepackage{pst-light3d}

\begin{document}

\begin{pspicture}(0,-1)(8,2)
\DeclareFixedFont{\Rmb}{T1}{ptm}{m}{n}{3cm}
\PstLightThreeDText[fillstyle=solid,fillcolor=blue!100!red!70,
LightThreeDAngle=60,LightThreeDYLength=0.1]{\Rmb Example}
\end{pspicture}

\end{document}

我得到的只是:

在此輸入影像描述

我正在xelatexTexStudio 中使用xelatex -interaction=nonstopmode %.texas 程式碼進行編譯。

編譯訊息是:

Process started: xelatex -interaction=nonstopmode "test pstrick".tex

GPL Ghostscript

9.19: Unrecoverable error, exit code 1

Process exited normally

問題是什麼?

答案1

輸出為latex->dvips->ps2pdf

在此輸入影像描述

有一些範例不適用於xdvipdfmx以下驅動程式xelatex

相關內容