0

wxt ターミナルと同じフォントを postscript ターミナルでも gnuplot に使用してもらいたいです。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 lucid を使用しています。どのフォントを使用することをお勧めしますか? どんなアイデアでも大歓迎です。また、gnuplot でラテックス フォント (最新のコンピューター) を取得するために "cm-super" も試しました。実際にはうまくいきましたが、テキストがボックスや余白に重なることがよくありました。

はじめまして、メフィックス

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

ルート コマンド ラインで。

SFSS1200の文字は、フォント エンコーディング (Latin1、...)、スタイル (Sans-Serif、...)、および必要な解像度 (dpi) を示していることに注意してください。

于 2010-08-13T17:33:57.747 に答える