Article View: fj.lang.postscript
Article #144PS with tgif-generated EPS figure
From: mho
Date: Wed, 29 Jan 1997 00:00
Date: Wed, 29 Jan 1997 00:00
335 lines
14011 bytes
14011 bytes
$BKY!w%=%K!<$H?=$7$^$9!#(B
$B$7$P$i$/A0$K(BCanon LBP-730PS$B$G(Btgif$B$GIA$$$??^$,=P$J$$$H$$$&%]%9%H$r$7$?$H$3$mJ#?t$NJ}$+$i(B
$B$*JV;v$r$$$?$@$-$^$7$?$N$G$^$H$a$F%]%9%H$7$^$9!#K\?M$,%K%e!<%9$r$7$P$i$/FI$a$J$+$C$?$N$G(B
expire$B$5$l$?5-;v$b$"$C$?$+$bCN$l$^$;$s!#%U%)%m!<$7$F$$$?$@$$$?J}$"$j$,$H$&$4$6$$$^$7$?!#(B
$B#1!%%-%d%N%s%M%C%H%o!<%/%3!<%k%;%s%?!<$+$i%Q%C%A$,F~<j$G$-$k!#(B
$BED0f$5$s(B@$BC^GHBg$+$i65$($F$$$?$@$$$FKY$bO"Mm$7$FF~<j$G$-$^$7$?!#(B
$BL5=~$G$N(Bdistribute$B$O$+$^$o$J$$$H=q$+$l$F$$$^$9$N$GKvHx$KE:IU$7$^$9!#(B
$B#2!%(Btgif$B$KBP$9$kJL$N%Q%C%A$,$"$k(B
$B$3$l$O!"%a%$%k$G:4F#$5$s!wElBg%7%9%F%`NL;R$+$iAw$C$F$$$?$@$-$^$7$?!#(B
$B$b$7$+$7$?$i$4K\?M$+$i$9$G$K8x3+$5$l$F$$$k$+$bCN$l$^$;$s!#(B
$B#3!%(Beucfont.ps$B$NJ#9g%U%)%s%H$NDj5A$NItJ,$N=$@5J}K!$,$"$k!#(B
$B$3$l$O!"4d<jBg$N0BG\$5$s$+$i65$($F$$$?$@$-$^$7$?!#(B
$B$?$@$7!"$3$l$G:n$C$?%U%)%s%H$O(Bgs$B$G$O%W%l%S%e!<$G$-$J$+$C$?$H$N$3$H$G$9!#(B($BKY$OL$3NG'(B)
($B#1(B)tgif $B$G:n$C$?(B eps $B%U%!%$%kCf$G(B $B2<5-$N$H$3$m$r8+$D$1$k!#(B
% <newfont> <asciifont> <kanjifont> eucfont
$BCfN,(B
} def
($B#2(B)$B$=$3$NItJ,$r<!$N$h$&$K=q$-49$($k!#(B
% <newfont> <asciifont> <kanjifont> eucfont
/eucfont {
dup type /nametype eq { findfont } if
copyfont dup dup /FDepVector get 1 get
4 -1 roll dup type /nametype eq { findfont } if
exch [ 3 1 roll ] /FDepVector exch put
definefont pop
} def
($B#3(B)dvi2ps $B$G(B ps $B%U%!%$%k$r:n$k!#(B
$B0J>e$G$9!#(B
$B>pJs$r$*4s$;$$$?$@$$$?J}$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B
$B!t%M%C%H%o!<%/!)$=$s$J$b$N$O>$$7;H$$$K$^$+$;$F$*$1(B
$B!t%=%K!<3t<02q<R(B
$B!t%;%_%3%s%@%/%?%+%s%Q%K!<%7%9%F%`#L#S#IItLg%a%G%#%"#1It(B
$B!t#3#D%W%m%8%'%/%H2](B $B5o8u(B $B2#IM#T#E#C(B $B8&5fEo#2#F(B
$B!tKY(B $B???M(B
------------------------------------------------------------------------------
$B$3$l$O!"(BTgif Version 2.16J (patchlevel 12)$B$r(B CID $B%U%)%s%H$r(B
$BEk:\$7$?%W%j%s%?$G0u;z$5$;$k$?$a$N(B patch $B$G$9!#(B
CID $B%U%)%s%H$O!"%"%I%S%7%9%F%`%:$,3+H/$7$?!"?7$7$$!"%^%k%A(B
$B%P%$%HBP1~$N8x3+$5$l$?%U%)%s%H%U%)!<%^%C%H$G$9!#(BCID $B%U%)%s%H(B
$B$O!"4pK\E*$K$O(B OCF $B%U%)%s%H$H$N8_49@-$rDs6!$7$F$$$^$9!#$7$+$7(B
$B;DG0$J$,$i!"(BEUC $B%(%s%3!<%G%#%s%0$N(B FDepVector $B$rA`:n$9$k(B
$B%"%W%j%1!<%7%g%s$K$O(B CID $B%U%)%s%H$GF0:n$7$J$$$b$N$,$"$j$^$9!#(B
$B$3$l$O!"(BCID $B%U%)%s%H$G$O!"(BEUC $B%(%s%3!<%G%#%s%0$G;HMQ2DG=$J(B
$BJ8;z%;%C%H$,3HD%$5$l$?;v$KM3Mh$7$^$9!#(BOCF $B$G$O!"(BEUC $B%(%s%3!<(B
$B%G%#%s%0$G;HMQ$G$-$kJ8;z$,!"(BJIS $B4A;z$K8B$i$l$F$$$?$N$KBP$7!"(B
CID $B%U%)%s%H$G$O!"(B1$B%P%$%H(B Roman (code set 0, 0x20 - 0x7e)$B!"(B
$B5Z$S!"(B2$B%P%$%HH>3Q%+%?%+%J(B (code set 2, 0x8ea1 - 0x8edf) $B$,(B
$B;H$($k$h$&$K$J$j$^$7$?!#(B
$B$3$N(B patch $B$r(B Tgif Version 2.16J (patchlevel 12) $B$KBP$7$F(B
$BEv$F$k;v$K$h$j!"(BCID $B%U%)%s%H$rEk:\$7$?(B PostScript $BF|K\8l(B
$B%W%j%s%?$KBP$7$F!"0u;z2DG=$K$J$j$^$9!#(Bpatch $B$,E,MQ$5$l$k(B
$BA0$O!"0J2<$N$h$&$J%a%C%;!<%8$,=P$F0u:~$G$-$^$;$s$G$7$?!#(B
%%[ Error: invalidfont; OffendingCommand: compositefont ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
$B;~4V$N4X78$G!"(BPostScript $B%3!<%I$N$_$NJQ99$GBP1~$7$^$7$?!#(B
$BJQ99$,I,MW$J%U%!%$%k$O(B ps.c $B$R$H$D$G$9!#(BTgif Version 2.16J
(patchlevel 12) $B$N%G%#%l%/%H%j$G!"(B
patch <$B$3$N%U%!%$%k(B
$B$H$7$F!"<B9T$7$F2<$5$$!#(B
CID $B%U%)%s%H$K4X$9$kJ8=q$O>/$J$/!"$$$/$D$+;EMM$,JQ99$5$l$?ItJ,$G$O!"(B
$B$^$@J8=q2=$5$l$F$$$J$$ItJ,$b$"$j$^$9!#%=%U%H%&%'%"%G%#%Y%m%C%Q!<$N(B
$B3'MM$K$O!"$4ITJX$r$*$+$1$7$F$$$k;v$H;W$$$^$9!#(BCID $B%U%)%s%H$K4X$9$k!"(B
$B5;=Q<T8~$1$N>pJs$O!"(B97 $BG/$NA0H>$K!"(B($B62$i$/(B PDF-J $B$N7A$G(B) $B$4Ds6!(B
$B$G$-$kM=Dj$G$9!#(B
$B$J$*!"0J2<$N(B PostScript $BF|K\8l%W%j%s%?$O!"%b%j%5%o$N%j%e%&%_%s(BL-KL
(Ryumin-Light)$B!"Cf%4%7%C%/(BBBB (GothicBBB-Medium) $B$,!"Ek:\$5$l$F(B
$B$$$J$$$+!"$"$k$$$O%*%W%7%g%s$G$"$j!"Ek:\$5$l$F$$$J$$2DG=@-$,$"$j$^$9!#(B
$B%b%j%5%o$N=qBN$,MxMQ$G$-$J$$>l9g$K$O!"(BTgif $B$N(B "NihongoFonts"
$B%j%=!<%9$rJQ99$7$F!"J?@.=qBN$r;HMQ$7$F2<$5$$!#(B
$BIY;N%<%m%C%/%9(B Laser Wind 1040PS
$B2-%G!<%?(B MICROLINE 400PSII
$B%;%$%3!<%(%W%=%s(B CPS$B%=%U%H%j%C%Q!<(B3 MJCPSR3
$B%=%K!<%F%/%H%m%K%/%9(B Phaser 140J$B!"(BPhaser 240J
"NihongoFonts" $B%j%=!<%9$NJQ99Nc(B:
Tgif*NihongoFonts: \
fixed-medium-r-normal, jisx0208.1983-*, HeiseiMin-W3-EUC-H, Mincho, H, false, 14 \n\
fixed-medium-r-normal, jisx0208.1983-*, HeiseiKakuGo-W5-EUC-H, Gothic, H, true, 14 \n\
fixed-medium-r-normal, jisx0208.1983-*, HeiseiMin-W3-EUC-V, Mincho-V, V, false, 14 \n\
fixed-medium-r-normal, jisx0208.1983-*, HeiseiKakuGo-W5-EUC-V, Gothic-V, V, true, 14
$B%"%I%S%7%9%F%`%:$G$O(B PostScript $B8@8l$KBP1~$7$?!"%"%W%j%1!<%7%g%s(B
$B%=%U%H%&%'%"3+H/!"%U%)%s%H3+H/!"%W%j%s%?%I%i%$%P3+H/!"$r9T$C$F$$$k(B
$B%G%#%Y%m%C%Q!<$N3'MM$N3+H/%5%]!<%H$r$*$3$J$C$F$*$j$^$9!#(B
$B%"%I%S%7%9%F%`%:$+$i$N3+H/%5%]!<%H$r<u$1$k$K$O!"!V(BPostScript $B8@8l(B
$B%=%U%H%&%(%"3+H/%-%C%H!W$r$49XF~$$$?$@$/I,MW$,$"$j$^$9!#!V(BPostScript
$B8@8l(B $B%=%U%H%&%(%"3+H/%-%C%H!W$NCf$K$O!"(BPostScript $B8@8l$K4X$9$k(B
$BM-1W$J>pJs$,B??t4^$^$l$F$*$j$^$9!#$^$?!"Dj4|E*$K!V(BPostScript
$B8@8l%;%_%J!<!W!JM-NA!K$b3+:E$7$F$*$j$^$9$N$G$43hMQ$/$@$5$$!#(B
$B!V(BPostScript $B8@8l%=%U%H%&%(%"3+H/%-%C%H!W$*$h$S!V(BPostScript $B8@8l(B
$B%;%_%J!<!W$K$D$$$F$O!"%"%I%S%7%9%F%`%:3t<02q<R!"%G%#%Y%m%C%Q!<(B
$B%5%]!<%H!J(BTEL03-5423-8169$B!K$^$G$*Ld$$9g$o$;$/$@$5$$$^$9$h$&(B
$B$*4j$$?=$7>e$2$^$9!#(B
$B$3$N(B patch $B%U%!%$%k$O!"@hC#$N5.=E$J:n6H$r85$K!"JQ99$r2C$($k;v$K$h$j!"(B
$B<B8=$5$l$^$7$?!#0J2<$K$"$j$^$9%"%I%S<R$N8"Mx@k8@$O!"%"%I%S<R$N2C$($?(B
$BJQ99$KBP$7$F$J$5$l$k$b$N$G$"$j!"@h$NJ}!9$N8"Mx$r0l@Z@)8B$9$k$b$N$G$O(B
$B$"$j$^$;$s!#$^$?!"$3$N$h$&$J!"M-0U5A$J%=%U%H%&%'%"$r3+H/$7!"8x3+(B
$B$J$5$C$?J}!9$K!"46<U$H7I0U$rI=$9$k$b$N$G$9!#(B
(c) Copyright 1996 Adobe Systems Incorporated.
All rights reserved.
Permission to use, copy, modify,and distribute this software
and its documentation for any purpose and without fee is hereby granted,
provided that the above copyright notices appear in all copies and that
both those copyright notices and this permission notice appear in
supporting documentation and that the name of Adobe Systems Incorporated
not be used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission. No trademark license
to use the Adobe trademarks is hereby granted. If the Adobe trademark
"PostScript"(R) is used to describe this software, its
functionality or for any other purpose, such use shall be limited to a
statement that this software works in conjunction with the
PostScript (R). Proper trademark attribution to reflect Adobe's
ownership of the trademark shall be given whenever any such reference to
the PostScript (R) is made.
ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR
ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON- INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL ADOBE BE LIABLE
TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADOBE WILL NOT
PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE SOFTWARE.
Adobe and PostScript are trademarks of Adobe Systems
Incorporated.
*** ps.c.orig Mon Dec 9 16:15:44 1996
--- ps.c Fri Dec 20 15:20:35 1996
***************
*** 246,308 ****
};
static char *psKanjiFontMacro[] =
! { "%",
! "%%Title: eucfont.ps",
! "%%Creator: shikida@cs.titech.ac.jp, ueno@cs.titech.ac.jp",
! "%%CreationDate: 1991-2-27",
! "%%EndComments",
"",
! "% <font> copyfont <font>",
! "/copyfont {",
! " dup maxlength 1 add dict begin",
! " {",
! " 1 index /FID ne 2 index /UniqueID ne and",
! " {def} {pop pop} ifelse",
! " } forall",
! " currentdict",
! " end",
"} bind def",
"",
! "% <newfont> <asciifont> <kanjifont> eucfont",
! "/eucfont {",
! " 12 dict begin",
! " dup type /nametype eq { findfont } if",
! " dup /WMode known {",
! " dup /WMode get /WMode exch def",
! " WMode 1 eq {",
! " [0.0 1.0 -1.0 0.0 0.0 0.30] makefont",
! " } if",
! " } if",
! " copyfont dup begin",
! " /Encoding Encoding",
! " FMapType dup 2 eq {",
! " pop 128 128",
! " } { 5 eq {",
! " 256 256",
! " } {",
! " /compositefont errordict /invalidfont get exec",
! " } ifelse",
! " } ifelse",
! " getinterval def",
! " end",
! " /kanjifont exch definefont",
! " exch",
! "",
! " dup type /nametype eq { findfont } if",
! " exch",
! "",
! " /FDepVector [ 4 2 roll ] def",
! " /FontType 0 def",
! " /FMapType 4 def",
! " /FontMatrix matrix def",
! " /Encoding [ 0 1 ] def",
! " /FontBBox {0 0 0 0} def",
! " dup /FontName exch def",
! " currentdict",
! " end",
! " definefont pop",
! "} def",
! "",
NULL
};
--- 246,353 ----
};
static char *psKanjiFontMacro[] =
! {
! "%%Title: neweucfont.ps",
! "%%Creator: mushizak@adobe.com",
! "%%CreationDate: Dec 6 1996",
! "%%BeginResource: file (neweucfont.ps)",
"",
! "% neweucfont.ps for tgif application",
! "% based on eucfont.ps yohtaki@cis.ibaraki.ac.jp 1996-9-29",
! "% based on eudfont.ps 1996-09, kawamata@sra.co.jp",
! "",
! "/copyfont { % fontdict n copyfont => dict",
! " 1 index length add dict begin",
! " {1 index dup /FID eq exch /UniqueID eq or {pop pop} {def} ifelse} forall",
! " currentdict end",
"} bind def",
"",
! "/eucfont { % /newname /asciifont /euckanjifont eucfont => -",
! " dup findfont",
! " dup /FontType get 0 ne {pop /eucfont errordict /rangecheck get exec} if",
! " 3 -1 roll findfont 2 copyfont begin",
! " /CDevProc [",
! " currentdict /CDevProc known {",
! " /CDevProc load dup type /operatortype ne {/exec cvx} if",
! " } {",
! " /pop cvx",
! " } ifelse",
! " {pop pop pop pop 5 index 5 index 0 0} /exec cvx",
! " ] cvx bind def",
! " /FontName /TGIFRoman def",
! " FontName currentdict end definefont",
! " exch",
! " dup /FMapType get dup dup 9 eq exch 6 eq or {",
! " 9 eq {",
! " /CIDParams/ProcSet resourcestatus {",
! " pop pop false/CIDParams/ProcSet findresource/SetBuildCompatible get exec",
! " } if",
! " exch pop 2 index 4 1 roll",
! " /CIDInit/ProcSet findresource begin",
! " dup /WMode known {/WMode get 1 eq} {pop false} ifelse {",
! " [exch /TGIFRoman] beginrearrangedfont",
! " /WMode 1 def",
! " 1 beginusematrix [0 -1 1 0 -.3 0] endusematrix",
! " } {",
! " [exch /TGIFRoman] beginrearrangedfont",
! " /WMode 0 def",
! " } ifelse",
! " 1 usefont",
! " 1 beginbfrange",
! " <00> <7f> <00>",
! " endbfrange",
! " endrearrangedfont",
! " end",
! " /CIDParams/ProcSet resourcestatus {",
! " pop pop true/CIDParams/ProcSet findresource/SetBuildCompatible get exec",
! " } if",
! " findfont dup /WMode get 1 eq {",
! " [0 1 -1 0 0 .3] makefont",
! " dup /FontName get exch definefont",
! " } if pop",
! " } {",
! " 3 -1 roll pop",
! " 1 copyfont begin",
! " /FDepVector FDepVector dup length array copy def",
! " FDepVector exch 0 exch put",
! " /FontName exch def",
! " currentdict /WMode known not {/WMode 0 def} if",
! " WMode 1 eq {",
! " 1 1 FDepVector length 1 sub {",
! " dup FDepVector dup 4 1 roll exch get",
! " [ 0 1 -1 0 0 0.3 ] makefont put",
! " } for",
! " } if",
! " FontName currentdict end definefont pop",
! " } ifelse",
! " } {",
! " dup 2 eq exch 5 eq or {",
! " 3 -1 roll pop",
! " 1 copyfont begin",
! " /Encoding Encoding FMapType 2 eq {128 128} {256 256} ifelse getinterval def",
! " /FontName /TGIFKanji def",
! " FontName currentdict end definefont",
! " 12 dict begin",
! " /FontType 0 def",
! " /FMapType 4 def",
! " /FontBBox {0 0 0 0} def",
! " /Encoding [0 1] def",
! " dup /WMode known {dup /WMode get} {0} ifelse /WMode exch def",
! " WMode 0 eq {",
! " /FontMatrix [1 0 0 1 0 0] def",
! " } {",
! " /FontMatrix [0 1 -1 0 0 .3] def",
! " exch [0 -1 1 0 -.3 0] makefont exch",
! " } ifelse",
! " 2 array astore /FDepVector exch def",
! " /FontName exch def",
! " FontName currentdict end definefont pop",
! " } {",
! " pop /eucfont errordict /rangecheck get exec",
! " } ifelse",
! " } ifelse",
! "} bind def",
! "%%EndResource",
NULL
};
Technical Details
Message-ID:
<5cm87t$28d@gpxgw.gpx.sony.co.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fa2ca,1b68ecb651ebe0b1,start X-Google-Attributes: gidfa2ca,public X-Google-Thread: f5731,1b68ecb651ebe0b1,start X-Google-Attributes: gidf5731,public X-Google-Thread: 10200c,1b68ecb651ebe0b1,start X-Google-Attributes: gid10200c,public From: mho@gpx.sony.co.jp Subject: PS with tgif-generated EPS figure Date: 1997/01/29 Message-ID: <5cm87t$28d@gpxgw.gpx.sony.co.jp> X-Deja-AN: 213574361 distribution: fj organization: SONY Corporation followup-to: fj.lang.postscript newsgroups: fj.lang.postscript,fj.comp.texhax,fj.comp.dev.printer