/opt/src/
GNU Ghostscript 7.0x
get
- ghostscript-7.0x.tar.{gz,bz2}
- gnu-gs-fonts-{std,other}-6.x.tar.gz
- jpegsrc.v6x.tar.gz
- http://www.t.ring.gr.jp/pub/text/CTAN/support/ghostscript/gnu/
- adobe-cmaps-2002xx.tar.gz
- acro5-cmaps-200x.tar.gz
- ftp://ftp.gyve.org/pub/gs-cjk/
- http://www.t.ring.gr.jp/pub/text/TeX/ptex-win32/gs/
configure
CC=gcc ./configure --prefix=/opt/pkgs/ghostscript-7.0x
install
$ make
$ su
# make install
# PREFIX=/opt/pkgs/ghostscript-7.0x
# cd ${PREFIX}/share/ghostscript
# gzip -dc gnu-gs-fonts-std-6.x.tar.gz | tar xvf -
# gzip -dc gnu-gs-fonts-other-6.x.tar.gz | tar xvf -
# mkdir Resource
# cd Resource
# gzip -dc adobe-cmaps-2002xx.tar.gz | tar xvf -
# gzip -dc acro5-cmaps-200x.tar.gz | tar xvf -
post-install
# vi ${PREFIX}/share/ghostscript/7.0x/lib/gs_res.ps
:
/FontResourceDir を ${PREFIX}/share/ghostscript/Resource/Font/ に
/GenericResourceDir を ${PREFIX}/share/ghostscript/Resource/ に
:
# vi ${PREFIX}/share/ghostscript/7.0x/lib/CIDFnmap
:
CIDFnmap.Sol と CIDFnmap.CJK の行を uncomment
:
# vi ${PREFIX}/share/ghostscript/7.0x/lib/CIDFnmap.CJK
:
.Sol の行を全て uncomment
:
# vi ${PREFIX}/bin/ps2pdf
:
ps2pdf12 ではなく,ps2pdf13 もしくは ps2pdf14 を使うように変更(任意)
(「Invalid font 'HG-GothicB' was removed from the document」対策)
:
# vi ${PREFIX}/bin/ps2pdfwr
:
OPTIONS に `-sPAPERSIZE=a4' を追加(任意)
:
# vi ${PREFIX}/bin/dvipdf
:
OPTIONS に `-sPAPERSIZE=a4' を追加(任意)
:
Copyright © 2003 -- tsumura@tomo.gr.jp