clip と AcrobatReader の相性

名前: みなも
日時: 2006-11-28 19:40:04
IPアドレス: 202.233.241.*

表記の件に関し少し実験に付き合っていただけないでしょうか。 まず,MetaPost に次のようなソースを渡します。 beginfig(1); draw (0,0)--(100,100); clip currentpicture to ((0,0)--(100,0)--(0,100)--cycle); endfig; end. できたPostScriptファイルを sample.eps とリネームして \documentclass{jarticle} \usepackage[dvipdfm]{graphicx} \begin{document} \includegraphics{sample.eps} \end{document} というソースを pLaTeX でタイプセットした後,dvipdfmx に渡し, PDF ファイルを得ます。 ここまではエラーが出ないのですが,これを Acrobat Reader で表示しようとすると 「フォーム,Type3フォント,パターンを解析中にエラーが発生しました」 というエラーが出て,真っ白のページになってしまいます。 どうやら,clip で曲線(上の例では線分)を刈り込むとこのエラーが発生する ようなんですが,皆さんの所ではどうでしょうか。 あと,回避方法を御存知の方がいらっしゃいましたらお教え下さい。 以下,こちらの環境 This is MetaPost, Version 0.641 (Web2C 7.5.4) (mem=mpost 2005.2.7) 28 NOV 2006 19:29 pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2003/12/01> patch level 0) (d:/ptex/share/texmf/ptex/platex/base/jarticle.cls This is dvipdfmx-20050201(cvs) by the DVIPDFMx project team, an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks. AcrobatReader は 5.0 と 6.0 が(別の環境内に)あったので 両方試しましたが同じでした。 ちょっと古めの環境なのが気にかかるところですが。 あと,生成されたPostScriptファイルの中味はこんな感じです。 %!PS %%BoundingBox: 0 0 100 100 %%Creator: MetaPost %%CreationDate: 2006.11.28:1848 %%Pages: 1 %%EndProlog %%Page: 1 1 gsave newpath 0 0 moveto 100 0 lineto 0 100 lineto closepath clip 0 0.5 dtransform truncate idtransform setlinewidth pop [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit newpath 0 0 moveto 100 100 lineto stroke grestore showpage %%EOF

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)