川藤と申します。 In message <20001224151313.7279BCF36@xxxxxxxxxxxxxxxxxxxxxxxxx> on Mon, Dec 25, 2000 at 12:00:09AM +0900 you Junichi Uekawa <dancer@xxxxxxxxxxxxx> wrote: |いろいろと検討した結果,gs ... -dNOKANJI |でpdfwriteする(つまりps2jpdf)をするとnonportableなPDFが生成される |可能性がある,ということだった気がします. tgifで作ったPSファイル内の日本語が化けるのですが、上記に該当する のでしょうか? (当然なのかも知れませんが)ps2pdfならOKです。また、 Windowsの Acrobat DistillerでもOKです。 # tgifにEPSを吐かせて、それをLaTeXに取り込んだら化けたので気づ # きました。 サンプルファイルを添付しておきます。また、関連するもののインストー ル状況は以下の通りです。 % dpkg -l gs\* tgif\* | grep ^ii ii gs 5.10-10.1 Postscript interpreter with X11 and svgalib ii gs-pdfencrypt 1.0.4-4 Provides support to view encrypted PDFs with ii gsfonts 5.10a-2 Fonts for the ghostscript interpreter ii gsfonts-other 5.10-2 Additional fonts for the ghostscript interpr ii gsfonts-x11 0.12 Make Ghostscript fonts available to X11. ii tgif 4.1.34-2 Interactive 2-D drawing facility under X11. 川藤
%TGIF 4.1.35
state(0,37,100.000,0,0,0,16,1,9,1,1,0,0,1,0,1,0,'Ryumin-Light-EUC-H',0,80640,0,0,1,10,0,0,1,1,0,16,0,0,1,1,1,1,1050,1485,1,0,2880,0).
%
% @(#)$Header$
% %W%
%
unit("1 pixel/pixel").
color_info(12,65535,0,[
"magenta", 65535, 0, 65535, 65535, 0, 65535, 1,
"red", 65535, 0, 0, 65535, 0, 0, 1,
"green", 0, 65535, 0, 0, 65535, 0, 1,
"blue", 0, 0, 65535, 0, 0, 65535, 1,
"yellow", 65535, 65535, 0, 65535, 65535, 0, 1,
"pink", 65535, 50736, 52850, 65535, 49344, 52171, 1,
"cyan", 0, 65535, 65535, 0, 65535, 65535, 1,
"CadetBlue", 23254, 40166, 42280, 24415, 40606, 41120, 1,
"white", 65535, 65535, 65535, 65535, 65535, 65535, 1,
"black", 0, 0, 0, 0, 0, 0, 1,
"DarkSlateGray", 10570, 19026, 19026, 12079, 20303, 20303, 1,
"moccasin", 65535, 59192, 46508, 65535, 58596, 46517, 1
]).
script_frac("0.6").
fg_bg_colors('black','moccasin').
page(1,"",1,'').
text('black',50,47,1,0,1,40,16,0,13,3,0,0,0,0,2,40,16,0,0,"",0,0,0,0,60,'',[
minilines(40,16,0,0,0,0,0,[
mini_line(40,13,3,0,0,0,[
str_block(0,40,13,3,0,0,0,0,0,[
str_seg('black','Times-Roman',0,80640,40,13,3,0,0,0,0,0,0,0,
"foo bar")])
])
])]).
text('black',50,97,1,0,1,56,15,1,13,2,0,0,0,0,2,56,15,0,0,"",0,0,0,0,110,'',[
minilines(56,15,0,0,0,0,0,[
mini_line(56,13,2,0,0,0,[
str_block(0,56,13,2,0,0,0,0,0,[
str_seg('black','Ryumin-Light-EUC-H',0,80640,56,13,2,0,0,0,1,1,0,0,
"\244\333\244\262\244\333\244\262")])
])
])]).
Attachment:
test.ps
Description: PostScript document