〔前の画面〕
〔クリックポイント〕 〔最新の一覧〕
〔全て読んだことにする〕〔全て読んだことにして終了〕 〔終了〕
2130 re(3):pngへの出力で日本語が文字化けする |
2009/11/8(日)15:24 - OHTA - softbank219176137086.bbtec.net - 4151 hit(s) - ResMail
松田さん、ご報告します。
Ghostscript8.70はインストールしっぱなしで、何も設定はしていません。Gimpでは環境設定をしても、epsファイルを開くことはできません。epsファイルはいずれもXnViewで開きました。文字化けしないpngを直接出力できるようになったので、とりあえず問題なしですが。
(1) EUC-H
gnuplot> set terminal postscript eps enhanced color 'GothicBBB-Medium-EUC-H' 20
Terminal type set to 'postscript'
Options are 'eps enhanced defaultplex \
leveldefault color colortext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
"GothicBBB-Medium-EUC-H" 20 '
gnuplot> load 'C:\gnuplot\data\GothicBBB-Medium-EUC-H.plt'
gnuplot> set output "GothicBBB-Medium-EUC-H.eps"
%%Trailer
%%DocumentFonts: GothicBBB-Medium-EUC-H
gnuplot> replot
「set title '日本語'」を含むGothicBBB-Medium-EUC-H.pltは、TeraPadの「ファイル」>「文字/改行コード指定保存」でEUCに保存。
GothicBBB-Medium-EUC-H.epsは文字化け。
(2) 90ms-RKSJ-H
set terminal postscript eps enhanced color 'GothicBBB-Medium-90ms-RKSJ-H' 20
Terminal type set to 'postscript'
Options are 'eps enhanced defaultplex \
leveldefault color colortext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
"GothicBBB-Medium-90ms-RKSJ-H" 20 '
gnuplot> load 'C:\gnuplot\data\GothicBBB-Medium-90ms-RKSJ-H-shiftjis.plt'
gnuplot> set output "GothicBBB-Medium-90ms-RKSJ-H-shiftjis.eps"
gnuplot> replot
「set title '日本語'」を含むGothicBBB-Medium-90ms-RKSJ-H-shiftjis.pltは、TeraPadの「ファイル」>「文字/改行コード指定保存」でShift-Jisに保存。
GothicBBB-Medium-90ms-RKSJ-H-shiftjis.epsは、未知の形式であるとして、開けなかった。
(3) UniJIS-UTF8-H
gnuplot> set terminal postscript eps enhanced color 'GothicBBB-Medium-UniJIS-UTF
8-H' 20
Terminal type set to 'postscript'
Options are 'eps enhanced defaultplex \
leveldefault color colortext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
"GothicBBB-Medium-UniJIS-UTF8-H" 20 '
gnuplot> load 'C:\gnuplot\data\GothicBBB-Medium-UniJIS-UTF8-H.plt'(「set title '日本語'」を含むGothicBBB-Medium-UniJIS-UTF8-H.pltは、TeraPadの「ファイル」>「文字/改行コード指定保存」でUTF-8に保存。)
gnuplot> ・ソ#!/gnuplot
^
"C:\gnuplot\data\GothicBBB-Medium-UniJIS-UTF8-H.plt", line 1: invalid c
haracter
GothicBBB-Medium-UniJIS-UTF8-H.pltをUTF-8Nで保存。
gnuplot> set output "GothicBBB-Medium-UniJIS-UTF8-H.eps"
gnuplot> replot
GothicBBB-Medium-UniJIS-UTF8-H.epsは文字化け。
〔ツリー構成〕
┣【2130】 re(3):pngへの出力で日本語が文字化けする 2009/11/8(日)15:24 OHTA (2470) |
〔前の画面〕
〔クリックポイント〕 〔最新の一覧〕
〔全て読んだことにする〕〔全て読んだことにして終了〕 〔終了〕
※ 『クリックポイント』とは一覧上から読み始めた地点を指し、ツリー上の記事を巡回しても、その位置に戻ることができます.