This page is translated with IBM Translation King 3.0.0.
このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。


Converting from PostScript to EWM (Enhanced Windows Metafile) using pstoedit (2004/12/06)
PostScriptからpstoedit(2004/12/06)を利用したEWM(拡張Windows Metafile)へ変える

[Japanese]
[日本語]

On UNIX systems, the most widely-used file format for vector-based graphics is Adobe's PostScript format and its extension called EPS (Encapsulated PostScript). Almost all graphic applications running on UNIX systems can generate in PostSciprt format. PostSciprt files are very handy on UNIX systems, but it is sometimes nasty to handle these files on Microsoft Windows. In what follows, I will explain how PostSciprt files (and equivalently, EPS files) can be converted to EWM (Enhanced Windows Metafile).
Unixシステムで、ベクトル・ベースのグラフィックのためのほとんどの広く使われたファイル形式は、EP(カプセル化ポストスクリプト)と呼ばれるAdobeのPostScript形式とその拡張だ。ほとんど、Unixシステム上で動作している全く写実的なアプリケーションは、PostSciprtで形式を生みだすことができる。PostSciprtファイルは、Unixシステムでとても便利だ、しかし、Microsoft Windowsでこれらのファイルを処理することは、時々いやだ。どのような追随で、私は、どのようにPostSciprtファイル(と同等にEPファイル)がEWM(拡張Windows Metafile)に変えられることができるかを説明するだろう。

  1. Install libEMF (http://libemf.sourceforge.net/) and pstoedit (http://www.pstoedit.net/pstoedit).
    インストールlibEMF(http://libemf.sourceforge.net/)とpstoedit(http://www.pstoedit.net/pstoedit)。

    I recommend to use pstoedit for converting from PostSciprt to EWM (Enhanced Windows Metafile). Note that libEMF must be installed before installig pstoedit. After compilation and installation of pstoedit, make sure that the emf driver has been successfully compiled in.
    私は、PostSciprtからEWM(拡張Windows Metafile)へ変えるためのpstoeditを使うために、推薦する。libEMFがinstallig pstoeditの前にインストールされなくてはいけないことに注意せよ。pstoeditのコンパイルとインストールの後で、emfドライバーがうまくコンパイルされたことを確認せよで。

      % pstoedit -f ?
      pstoedit: version 3.33 / DLL interface 108 (build Jun 17 2004 - release build) : Copyright (C) 1993 - 2003 Wolfgang Glunz
      Unsupported driver ?
      Available formats :
              psf:            Flattened PostScript (no curves)        (built-in)
              ps:             Simplified PostScript with curves       (built-in)
              debug:          for test purposes       (built-in)
              dump:           for test purposes (same as debug)       (built-in)
              gs:             any device that GhostScript provides - use gs:format, e.g. gs:pdfwrite  (built-in)
              ps2ai:          Adobe Illustrator via ps2ai.ps of GhostScript   (built-in)
              sample:         sample driver: if you don't want to see this, uncomment the corresponding line in makefile and make again       (/usr/local/lib/pstoedit/libp2edrvstd.so)
              idraw:          Interviews draw format (EPS)    (/usr/local/lib/pstoedit/libp2edrvstd.so)
              fig:            .fig format for xfig    (/usr/local/lib/pstoedit/libp2edrvstd.so)
              xfig:           .fig format for xfig    (/usr/local/lib/pstoedit/libp2edrvstd.so)
              tgif:           Tgif .obj format (for tgif version >= 3)        (/usr/local/lib/pstoedit/libp2edrvstd.so)
              gnuplot:        gnuplot format  (/usr/local/lib/pstoedit/libp2edrvstd.so)
              tk:             tk and/or tk applet source code         (/usr/local/lib/pstoedit/libp2edrvstd.so)
              hpgl:           HPGL code       (/usr/local/lib/pstoedit/libp2edrvstd.so)
              pic:            PIC format for troff et.al.     (/usr/local/lib/pstoedit/libp2edrvstd.so)
              latex2e:        LaTeX2e picture format  (/usr/local/lib/pstoedit/libp2edrvstd.so)
              mma:            Mathematica Graphics    (/usr/local/lib/pstoedit/libp2edrvstd.so)
              mpost:          MetaPost Format         (/usr/local/lib/pstoedit/libp2edrvstd.so)
              sk:             Sketch Format   (/usr/local/lib/pstoedit/libp2edrvstd.so)
              text:           text in different forms         (/usr/local/lib/pstoedit/libp2edrvstd.so)
              kil:            .kil format for Kontour         (/usr/local/lib/pstoedit/libp2edrvstd.so)
              pdf:            Adobe's Portable Document Format        (/usr/local/lib/pstoedit/libp2edrvstd.so)
              java2:          java 2 source code      (/usr/local/lib/pstoedit/libp2edrvstd.so)
              java1:          java 1 applet source code       (/usr/local/lib/pstoedit/libp2edrvstd.so)
              dxf:            CAD exchange format     (/usr/local/lib/pstoedit/libp2edrvstd.so)
              dxf_s:          CAD exchange format with splines        (/usr/local/lib/pstoedit/libp2edrvstd.so)
              rpl:            Real3D Programming Language Format      (/usr/local/lib/pstoedit/libp2edrvstd.so)
              rib:            RenderMan Interface Bytestream  (/usr/local/lib/pstoedit/libp2edrvstd.so)
              lwo:            LightWave 3D Object Format      (/usr/local/lib/pstoedit/libp2edrvstd.so)
              wmf:            Windows metafile        (/usr/local/lib/pstoedit/libp2edrvwmf.so)
              emf:            Enhanced Windows metafile       (/usr/local/lib/pstoedit/libp2edrvwmf.so)

    %pstoedit-f? pstoedit:バージョン3.33/DLLインターフェース108(2004年6月17日に構築せよ-リリース体格):copyright(c)1993-2003ウォルフガングGlunzサポートされていないドライバー? 利用できる形式: psf:平らにされたPostScript(いかなる曲線でもない)(内蔵である) ps:曲線(内蔵である)との容易なPostScript デバッグせよ:なぜなら、テスト目的(内蔵である) ダンプ:テスト目的のためだ(同じのでデバッグする)(内蔵である) gs:GhostScriptが提供するどんなデバイス- 使用gs:形式例えばgs:pdfwrite(内蔵である) ps2ai:GhostScript(内蔵である)のps2ai.ps経由のAdobe Illustrator サンプル:ドライバーのサンプル:もしあなたがこれを見たくなければ、一致することがmakefileで一列に並んで、そして(/usr/local/lib/pstoedit/libp2edrvstd.so)また作るuncomment idraw:面接呼び物形式(EPS)(/usr/local/lib/pstoedit/libp2edrvstd.so) イチジク:xfig(/usr/local/lib/pstoedit/libp2edrvstd.so)のための.fig形式 xfig:xfig(/usr/local/lib/pstoedit/libp2edrvstd.so)のための.fig形式 tgif:Tgif.obj形式(tgifバージョンのために>=3)(/usr/local/lib/pstoedit/libp2edrvstd.so) gnuplot:gnuplot形式(/usr/local/lib/pstoedit/libp2edrvstd.so) tk:tkあるいはtkアプレット・ソース・コード(/usr/local/lib/pstoedit/libp2edrvstd.so) hpgl:HPGLコード(/usr/local/lib/pstoedit/libp2edrvstd.so) 写真:troff et.alのための写真形式。(/usr/local/lib/pstoedit/libp2edrvstd.so) latex2e:LaTeX2e絵形式(/usr/local/lib/pstoedit/libp2edrvstd.so) mma:マスマティカ・グラフィック(/usr/local/lib/pstoedit/libp2edrvstd.so) mpost:MetaPost形式(/usr/local/lib/pstoedit/libp2edrvstd.so) sk:スケッチ形式(/usr/local/lib/pstoedit/libp2edrvstd.so) テキスト:異なるフォーム(/usr/local/lib/pstoedit/libp2edrvstd.so)のテキスト kil:Kontour(/usr/local/lib/pstoedit/libp2edrvstd.so)のための.kil形式 pdf:Adobeのポータブル文書フォーマット(/usr/local/lib/pstoedit/libp2edrvstd.so) java2:Java 2つのソース・コード(/usr/local/lib/pstoedit/libp2edrvstd.so) java1:Java 1アプレット・ソース・コード(/usr/local/lib/pstoedit/libp2edrvstd.so) dxf:コンピュータ援用設計交換形式(/usr/local/lib/pstoedit/libp2edrvstd.so) dxf_s:splines(/usr/local/lib/pstoedit/libp2edrvstd.so)をもつコンピュータ援用設計交換形式 rpl:Real3Dプログラミング言語形式(/usr/local/lib/pstoedit/libp2edrvstd.so) あばら骨:RenderManインターフェースBytestream(/usr/local/lib/pstoedit/libp2edrvstd.so) lwo:LightWave 3Dオブジェクト形式(/usr/local/lib/pstoedit/libp2edrvstd.so) wmf:Windows metafile(/usr/local/lib/pstoedit/libp2edrvwmf.so) emf:拡張Windows metafile(/usr/local/lib/pstoedit/libp2edrvwmf.so)
  2. Convert from PostSciprt file to Enhanced Windows Metafile
    PostSciprtファイルから拡張Windows Metafileまでの改宗者
      $ pstoedit -f emf file.ps file.wmf

    $pstoedit-f emf file.ps file.wmf

    If the PostSciprt file has more than a single page, you have to specify '%d' in the output filename, e.g.,
    もしPostSciprtファイルがひとつのページ以上を持っていれば、あなたは、「%d」アウトプット・ファイル名で規定する必要がある、例えば、

      $ pstoedit -f emf file.ps file%d.wmf

    $pstoedit-f emf file.psは、%d.wmfをファイルする

    Also, you can convert from EPS (Encapsulated PostSciprt) to EWM (Enhanced Windows Metafile).
    また、あなたは、EP(カプセルに入れられたPostSciprt)からEWMへ変えることができる(拡張Windows Metafile)。

      $ pstoedit -f emf file.eps file.wmf

    $pstoedit-f emf file.eps file.wmf
  3. Insert the generated EWM file into your Windows' application
    あなたのWindowsのアプリケーションへ生みだされたEWMファイルを挿入せよ

Hiroyuki Ohsaki (oosaki[atmark]ist.osaka-u.ac.jp)
This page is translated with IBM Translation King 3.0.0.
このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。