Posted by: smallonely | February 18, 2008

為什麼一張eps圖片轉成pdf會有問題

之前有個 gnuplot 畫出來的圖案,
不知道為什麼, 在 postscript 上顯示得很漂亮
但是一轉成 pdf 檔, 字和curves就會重疊 (很醜!!!)

剛才發現原來是我在 terminal postscript eps 指定了字型
(e.g., set terminal postscript eps enhanced “Arial” 16),
然而 pdf 並不支援,
所以會轉為 default 的字體

然而 default font 的 text width 比較寬,
所以可能蓋住原有的 curve

把指定字型的部分換成另外的字型, 或者就直接拿掉試試看
set terminal postscript eps enhanced 16

and it finally works!🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: