0

我希望 gnuplot 在 postscript-terminal 中使用与 wxt-terminal 中相同的字体。Gnuplot 帮助说 wxt 默认使用“Sans”。现在,如果我将终端设置为

gnuplot> set term post enhanced color "Sans" 12
Terminal type set to 'postscript'
Options are 'landscape enhanced defaultplex \
   leveldefault color colortext \
   dashed dashlength 1.0 linewidth 1.0 butt noclip \
   palfuncparam 2000,0.003 \
   "Sans" 12 '

那么字体看起来与 wxt 中的字体非常不同。我正在使用 Ubuntu 10.04 清醒版。您建议我使用哪种字体?欢迎任何想法。我还尝试使用“cm-super”在 gnuplot 中获取乳胶字体(现代计算机)。实际上它有效,但文本经常重叠框和边距!

问候,mefiX

4

1 回答 1

3

由于考虑的绘图是 LaTeX 文档的一部分,我决定使用前面描述的计算机现代字体。

gnuplot> set term post enhanced color fontfile "/usr/share/texmf/fonts/type1/public/cm-super/sfss1200.pfb" "SFSS1200"
Terminal type set to 'postscript'
Font file '/usr/share/texmf/fonts/type1/public/cm-super/sfss1200.pfb' contains the font 'SFSS1200'. Location:
   /usr/share/texmf/fonts/type1/public/cm-super/sfss1200.pfb
Options are 'landscape enhanced defaultplex \
   leveldefault color colortext \
   dashed dashlength 1.0 linewidth 1.0 butt noclip \
   palfuncparam 2000,0.003 \
   "SFSS1200" 14 fontfile "/usr/share/texmf/fonts/type1/public/cm-super/sfss1200.pfb" '

如前所述,您可以通过调用在 ubuntu 下安装这些

# apt-get install cm-super

在根命令行上。

Note that the characters in SFSS1200 describe font encoding (Latin1, ...), style (Sans-Serif, ...) and desired resolution in dpi.

于 2010-08-13T17:33:57.747 回答