[2002-05-28] のエプソンコーワ純正のドライバだと、なぜか EPS 画像が
横長に間延びしてしまう不具合があったので、gdevlips に入れ替えるつ
いでに ghostscript のバージョンも上げてみた。
→
http://www.ucatv.ne.jp/~taeko/software/gs/
% tar zxvf ~/src/ghostscript-7.05.tar.gz
% tar zxvf ~/src/gdevlips-2.4.0.tar.gz
% cd gdevlips-2.4.0/
% cp *.c *.h ../ghostscript-7.05/src
% cat gdevlips.mak >> ../ghostscript-7.05/src
% cd ../ghostscript-7.05
% ./configure
% vi Makefile
% diff -u Makefile Makefile.old
--- Makefile Wed Jul 10 08:45:21 2002
+++ Makefile.old Wed Jul 10 08:08:30 2002
@@ -372,7 +372,7 @@
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
-DEVICE_DEVS16= $(DD)lips2p.dev $(DD)lips3.dev $(DD)bjc880j.dev $(DD)lips4.dev $(DD)lp2000.dev $(DD)escpage.dev $(DD)npdl.dev $(DD)rpdl.dev $(DD)lips4v.dev
+DEVICE_DEVS16=
DEVICE_DEVS17=
DEVICE_DEVS18=
DEVICE_DEVS19=
% make XCFLAGS=-I/usr/local/include/libpng XLDFLAGS=-R/usr/local/lib
% sudo make install
% cd /usr/local/share/ghostscript/7.05/lib
% sudo vi CIDFnmap
% diff -u CIDFnmap.orig CIDFnmap
--- CIDFnmap.orig Wed Jul 10 16:31:16 2002
+++ CIDFnmap Wed Jul 10 16:31:45 2002
@@ -139,7 +139,7 @@
%(CIDFnmap.ARP) .runlibfile
%(CIDFnmap.Bae) .runlibfile
%(CIDFnmap.Koc) .runlibfile
-%(CIDFnmap.Sol) .runlibfile
+(CIDFnmap.Sol) .runlibfile
%(CIDFnmap.Win) .runlibfile
%(CIDFnmap.CJK) .runlibfile
@@ -155,3 +155,10 @@
% native CIDFontName (euc-kr) in Korean
%(CIDFnmap.ksx) .runlibfile
+
+/Ryumin-Light /HG-MinchoL ;
+/GothicBBB-Medium /HG-GothicB ;
+/HeiseiMin-W3 /HeiseiMin-W3H ;
+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
+/HeiseiMin-W3-Acro /Ryumin-Light ;
+/HeiseiKaKuGo-W5-Acro /GothicBBB-Medium ;
% sudo vi gs_res.ps
% diff -u gs_res.ps.orig gs_res.ps
--- gs_res.ps.orig Wed Jul 10 16:31:56 2002
+++ gs_res.ps Wed Jul 10 16:33:03 2002
@@ -245,8 +245,8 @@
/pssystemparams 10 dict readonly def
} if
pssystemparams begin
- /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o
- /GenericResourceDir (/Resource/) readonly .forcedef % pssys'params is r-o
+ /FontResourceDir (/usr/local/share/ghostscript/Resource/Font/) readonly .forcedef % pssys'params is r-o
+ /GenericResourceDir (/usr/local/share/ghostscript/Resource/) readonly .forcedef % pssys'params is r-o
/GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o
end
end