前の画面〕 〔クリックポイント〕 〔最新の一覧〕 〔全て読んだことにする〕〔全て読んだことにして終了〕 〔終了

927 re(2):pgnuplot(角藤さん版)での日本語表示について
2005/8/29(月)18:37 - you - gw.j-phone.com - 1159 hit(s)

引用する
現在のパスワード


ご回答ありがとうございます。
早速ですが、pgnuplotを起動してコマンドラインにてやってみました。

gnuplot>set term png font "../winnt/fonts/msgothic.ttc"
---以下、リプライメッセージ---
Terminal type set to 'png'
Could not find/open font when opening font ../winnt/fonts/msgothic.ttc using default
Options are 'nocrop medium size 640,480'

開けないようなので、ドライブ指定の以下に変えてみました。

gnuplot>set term png font "c:/winnt/fonts/msgothic.ttc"
---以下、リプライメッセージ---
Terminal type set to 'png'
Options are 'nocrop font c:/winnt/fonts/msgothic.ttc 12 size 640,480

若干メッセージが替わっているのですが、nocropという言葉が微妙な気がします。
(辞書で調べると、crop=収穫 という意味らしいので。。。)
ただし、フォントをセットした後だとplotコマンドでplotしても、グラフが表示されませんでした。。。

とりあえず上記をふまえて、perl(pgnuplot呼び出し元)から以下のソースを起動してみました。
【ソース】
set term png transparent size 360,252 font "c:/winnt/fonts/MSGOTHIC.TTC" 7
set title "日本"

set output "$output_png"
plot sin(x)


実行結果は、やはりタイトルの日本語が文字化けします。
(ちなみに、MSGOTHICをMSMINCHOでやると、英数字はゴシックから明朝に変わっています)
(perlの構文をEUC,SHIFT-JISどちらでやっても文字化けします)

何か他に手はあるのでしょうか?


〔ツリー構成〕

【922】 pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)16:10 you (1057)
┣【923】 re(1):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)16:27 kakuto (229)
┣【925】 re(2):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)16:42 you (333)
┣【926】 re(1):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)17:48 竹の (471)
┣【927】 re(2):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)18:37 you (1266)
┣【928】 re(3):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)18:48 竹の (851)
┣【929】 re(4):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)19:12 you (396)
┣【930】 re(5):pgnuplot(角藤さん版)での日本語表示について 2005/8/29(月)20:26 竹の (1918)
┣【932】 re(6):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)10:15 you (1626)
┣【933】 re(7):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)11:18 you (138)
┣【934】 re(8):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)12:40 you (649)
┣【935】 re(9):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)13:10 竹の (461)
┣【936】 re(7):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)13:15 竹の (447)
┣【937】 re(8):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)14:08 you (314)
┣【938】 re(9):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)15:50 you (613)
┣【940】 re(10):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)16:44 竹の (450)
┣【941】 re(11):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)17:23 you (2018)
┣【942】 re(12):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)17:41 竹の (415)
┣【943】 re(12):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)17:43 you (1263)
┣【944】 re(13):pgnuplot(角藤さん版)での日本語表示について 2005/8/30(火)18:32 you (1375)

前の画面〕 〔クリックポイント〕 〔最新の一覧〕 〔全て読んだことにする〕〔全て読んだことにして終了〕 〔終了

※ 『クリックポイント』とは一覧上から読み始めた地点を指し、ツリー上の記事を巡回しても、その位置に戻ることができます.