/usr/share/ghostscript/8.70/lib
NameSizeModeActions
acctest.ps43240644editdlrm
addxchar.ps98480644editdlrm
align.ps23130644editdlrm
bdftops.ps234030644editdlrm
bj8.rpd6390644editdlrm
bj8gc12f.upp15280644editdlrm
bj8hg12f.upp15270644editdlrm
bj8oh06n.upp15130644editdlrm
bj8pa06n.upp15210644editdlrm
bj8pp12f.upp15380644editdlrm
bj8ts06n.upp15260644editdlrm
bjc610a0.upp15230644editdlrm
bjc610a1.upp15120644editdlrm
bjc610a2.upp15130644editdlrm
bjc610a3.upp15180644editdlrm
bjc610a4.upp15260644editdlrm
bjc610a5.upp15130644editdlrm
bjc610a6.upp15130644editdlrm
bjc610a7.upp15160644editdlrm
bjc610a8.upp15220644editdlrm
bjc610b1.upp15120644editdlrm
bjc610b2.upp15130644editdlrm
bjc610b3.upp15180644editdlrm
bjc610b4.upp15260644editdlrm
bjc610b6.upp15130644editdlrm
bjc610b7.upp15170644editdlrm
bjc610b8.upp15220644editdlrm
bjc6000a1.upp16600644editdlrm
bjc6000b1.upp16600644editdlrm
caption.ps17210644editdlrm
cbjc600.ppd110400644editdlrm
cbjc800.ppd113830644editdlrm
cdj550.upp16860644editdlrm
cdj690.upp19950644editdlrm
cdj690ec.upp20560644editdlrm
cid2code.ps44750644editdlrm
decrypt.ps3500644editdlrm
dmp_init.ps72460644editdlrm
dmp_site.ps4590644editdlrm
dnj750c.upp28040644editdlrm
dnj750m.upp19710644editdlrm
docie.ps73730644editdlrm
dumphint.ps200440644editdlrm
escp_24.src3500644editdlrm
font2c.ps195910644editdlrm
font2pcl.ps175680644editdlrm
ghostpdf.ppd256430644editdlrm
gslp.ps196430644editdlrm
gsnup.ps27250644editdlrm
gs_ce_e.ps23640644editdlrm
gs_cmdl.ps48440644editdlrm
gs_fform.ps31620644editdlrm
gs_il2_e.ps27770644editdlrm
gs_kanji.ps39420644editdlrm
gs_ksb_e.ps32910644editdlrm
gs_l.xbm19450644editdlrm
gs_l.xpm27510644editdlrm
gs_lgo_e.ps28860644editdlrm
gs_lgx_e.ps19120644editdlrm
gs_l_m.xbm19550644editdlrm
gs_m.xbm9450644editdlrm
gs_m.xpm14370644editdlrm
gs_m_m.xbm9550644editdlrm
gs_pfile.ps43490644editdlrm
gs_rdlin.ps8620644editdlrm
gs_s.xbm5940644editdlrm
gs_s.xpm9570644editdlrm
gs_s_m.xbm6040644editdlrm
gs_t.xbm3450644editdlrm
gs_t.xpm6050644editdlrm
gs_t_m.xbm3550644editdlrm
gs_wl1_e.ps25300644editdlrm
gs_wl2_e.ps25280644editdlrm
gs_wl5_e.ps25460644editdlrm
ht_ccsto.ps2281940644editdlrm
image-qa.ps733230644editdlrm
impath.ps55380644editdlrm
jispaper.ps9300644editdlrm
landscap.ps15250644editdlrm
level1.ps1100644editdlrm
lines.ps38680644editdlrm
markhint.ps34730644editdlrm
markpath.ps18900644editdlrm
mkcidfm.ps73050644editdlrm
necp2x.upp10410644editdlrm
necp2x6.upp10650644editdlrm
packfile.ps103580644editdlrm
pcharstr.ps35840644editdlrm
pdf2dsc.ps83770644editdlrm
PDFA_def.ps11700644editdlrm
pdfopt.ps365160644editdlrm
pdfwrite.ps116760644editdlrm
PDFX_def.ps18680644editdlrm
pf2afm.ps153510644editdlrm
pfbtopfa.ps11410644editdlrm
PM760p.upp11600644editdlrm
PM760pl.upp11240644editdlrm
PM820p.upp11420644editdlrm
PM820pl.upp11170644editdlrm
ppath.ps19740644editdlrm
pphs3910644editdlrm
pphs.ps69220644editdlrm
prfont.ps64870644editdlrm
printafm.ps37750644editdlrm
ps2ai.ps224850644editdlrm
ps2ascii.ps446180644editdlrm
ps2epsi.ps81870644editdlrm
quit.ps50644editdlrm
ras1.upp2110644editdlrm
ras3.upp2100644editdlrm
ras4.upp2160644editdlrm
ras8m.upp2050644editdlrm
ras24.upp2150644editdlrm
ras32.upp1920644editdlrm
rollconv.ps117650644editdlrm
s400a1.upp14540644editdlrm
s400b1.upp16030644editdlrm
sharp.upp19360644editdlrm
showchar.ps29320644editdlrm
showpage.ps90644editdlrm
sipixa6.upp5290644editdlrm
st640ih.upp22770644editdlrm
st640ihg.upp15040644editdlrm
st640p.upp19100644editdlrm
st640pg.upp11370644editdlrm
st640pl.upp18740644editdlrm
st640plg.upp11010644editdlrm
stc.upp19190644editdlrm
stc2.upp19000644editdlrm
stc2s_h.upp22680644editdlrm
stc2_h.upp18750644editdlrm
stc200_h.upp18440644editdlrm
stc300.upp21320644editdlrm
stc300bl.upp13370644editdlrm
stc300bm.upp14260644editdlrm
stc500p.upp18990644editdlrm
stc500ph.upp18990644editdlrm
stc600ih.upp22770644editdlrm
stc600p.upp11470644editdlrm
stc600pl.upp11110644editdlrm
stc640p.upp10910644editdlrm
Stc670p.upp11590644editdlrm
Stc670pl.upp11240644editdlrm
Stc680p.upp11400644editdlrm
Stc680pl.upp11150644editdlrm
stc740ih.upp21230644editdlrm
Stc740p.upp10390644editdlrm
Stc740pl.upp11150644editdlrm
Stc760p.upp11410644editdlrm
Stc760pl.upp11150644editdlrm
Stc777p.upp11400644editdlrm
Stc777pl.upp11150644editdlrm
stc800ih.upp21540644editdlrm
stc800p.upp11110644editdlrm
stc800pl.upp10930644editdlrm
stc1520h.upp21500644editdlrm
stcany.upp6690644editdlrm
stcany_h.upp6770644editdlrm
stcinfo.ps257330644editdlrm
stcolor.ps52210644editdlrm
stc_h.upp19090644editdlrm
stc_l.upp7300644editdlrm
stocht.ps26460644editdlrm
Stp720p.upp11580644editdlrm
Stp720pl.upp11150644editdlrm
Stp870p.upp11400644editdlrm
Stp870pl.upp11150644editdlrm
traceimg.ps15280644editdlrm
traceop.ps27340644editdlrm
type1enc.ps25360644editdlrm
type1ops.ps75760644editdlrm
uninfo.ps61360644editdlrm
unprot.ps19040644editdlrm
viewcmyk.ps21130644editdlrm
viewgif.ps45730644editdlrm
viewjpeg.ps49490644editdlrm
viewmiff.ps37780644editdlrm
viewpbm.ps53070644editdlrm
viewpcx.ps43450644editdlrm
viewps2a.ps12820644editdlrm
wftopfa.ps89230644editdlrm
winmaps.ps37430644editdlrm
wrfont.ps181680644editdlrm
zeroline.ps24630644editdlrm
Edit: /usr/share/ghostscript/8.70/lib/type1ops.ps (7576B)
% Copyright (C) 1992, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved. % % This software is provided AS-IS with no warranty, either express or % implied. % % This software is distributed under license and may not be copied, % modified or distributed except as expressly authorized under the terms % of the license contained in the file LICENSE in this distribution. % % For more information about licensing, please refer to % http://www.ghostscript.com/licensing/. For information on % commercial licensing, go to http://www.artifex.com/licensing/ or % contact Artifex Software, Inc., 101 Lucas Valley Road #110, % San Rafael, CA 94903, U.S.A., +1(415)492-9861. % $Id: type1ops.ps 6300 2005-12-28 19:56:24Z giles $ % type1ops.ps % Define the Type 1 and Type 2 font opcodes for use by Ghostscript utilities. % Define the default value of lenIV. % Note that this expects the current font to be on the dictionary stack. /lenIV { FontType 2 eq { -1 } { 4 } ifelse } def % ---------------- Encoding ---------------- % /Type1encode 70 dict % Data types dup /nulltype { pop () } put dup /nametype { Type1encode exch get } put dup /stringtype { } put dup /integertype { dup dup -107 ge exch 107 le and { 139 add (x) dup 0 4 -1 roll put } { dup dup -1131 ge exch 1131 le and { dup 0 ge { 16#f694 } { neg 16#fa94 } ifelse add (xx) dup dup 0 4 index -8 bitshift put 1 4 -1 roll 255 and put } { (\377xxxx) 1 1 4 { dup 8 mul 32 sub 3 index exch bitshift 255 and 2 index 3 1 roll put } for exch pop } ifelse } ifelse } put % Operators % Identical or similar in Type 1 and Type 2. /c_hstem 1 def dup /hstem <01> put /c_vstem 3 def dup /vstem <03> put /c_vmoveto 4 def dup /vmoveto <04> put /c_rlineto 5 def dup /rlineto <05> put /c_hlineto 6 def dup /hlineto <06> put /c_vlineto 7 def dup /vlineto <07> put /c_rrcurveto 8 def dup /rrcurveto <08> put /c_callsubr 10 def /s_callsubr <0a> def dup /callsubr s_callsubr put /c_return 11 def dup /return <0b> put /c_escape 12 def /ce_div 12 def /s_div <0c0c> def dup /div s_div put /c_endchar 14 def /s_endchar <0e> def dup /endchar s_endchar put /c_rmoveto 21 def dup /rmoveto <15> put /c_hmoveto 22 def dup /hmoveto <16> put /c_vhcurveto 30 def dup /vhcurveto <1e> put /c_hvcurveto 31 def dup /hvcurveto <1f> put % Only in Type 1. /c_closepath 9 def dup /closepath <09> put /c_hsbw 13 def /s_hsbw <0d> def dup /hsbw s_hsbw put /ce_dotsection 0 def /s_dotsection <0c06> def dup /dotsection s_dotsection put /ce_vstem3 1 def /s_vstem3 <0c01> def dup /vstem3 s_vstem3 put /ce_hstem3 2 def /s_hstem3 <0c02> def dup /hstem3 s_hstem3 put /ce_seac 6 def /s_seac <0c06> def dup /seac s_seac put /ce_sbw 7 def /s_sbw <0c07> def dup /sbw s_sbw put /ce_callothersubr 16 def /s_callothersubr <0c10> def dup /callothersubr s_callothersubr put /ce_pop 17 def /s_pop <0c11> def dup /pop s_pop put /ce_setcurrentpoint 33 def /s_setcurrentpoint <0c21> def dup /setcurrentpoint s_setcurrentpoint put /s_setcurrentpoint_hmoveto s_setcurrentpoint <8b16> concatstrings def % Only in Type 2. dup /blend <10> put dup /hstemhm <12> put dup /hintmask <13> put dup /cntrmask <14> put dup /vstemhm <17> put dup /rcurveline <18> put dup /rlinecurve <19> put dup /vvcurveto <1a> put dup /hhcurveto <1b> put dup /callgsubr <1d> put dup /and <0c03> put dup /or <0c04> put dup /not <0c05> put dup /store <0c08> put dup /abs <0c09> put dup /add <0c0a> put dup /sub <0c0b> put dup /load <0c0d> put dup /neg <0c0c> put dup /eq <0c0f> put dup /drop <0c12> put dup /put <0c14> put dup /get <0c15> put dup /ifelse <0c16> put dup /random <0c17> put dup /mul <0c18> put dup /sqrt <0c1a> put dup /dup <0c1b> put dup /exch <0c1c> put dup /index <0c1d> put dup /roll <0c1e> put dup /hflex <0c22> put dup /flex <0c23> put dup /hflex1 <0c24> put dup /flex1 <0c25> put readonly def % ---------------- Decoding ---------------- % /Type1decode 512 array Type1encode { dup type /stringtype eq { dup length 1 eq { 0 get } { 1 get 256 add } ifelse % stack: array key code exch 2 index 3 1 roll put } { pop pop } ifelse } forall dup 12 { dup read pop dup Type1decode exch 256 add get dup null ne { exch pop } { pop 2 string dup 0 12 put dup 1 4 -1 roll put } ifelse } put dup 28 { % Type 2 only dup read pop 128 xor 128 sub 8 bitshift 1 index read pop add } put 32 1 246 { 2 copy dup 139 sub put pop } for dup 247 { dup read pop 108 add } put dup 248 { dup read pop 364 add } put dup 249 { dup read pop 620 add } put dup 250 { dup read pop 876 add } put dup 251 { dup read pop 108 add neg } put dup 252 { dup read pop 364 add neg } put dup 253 { dup read pop 620 add neg } put dup 254 { dup read pop 876 add neg } put dup 255 { % Different for Type 1 and Type 2 dup read pop 128 xor 128 sub 3 { 8 bitshift 1 index read pop add } repeat FontType 2 eq { 65536.0 div } if } put readonly def % ---------------- Procedures ---------------- % % For these utilities, a CharString is represented by a sequence of % integers, reals, strings, and names, either in an array or on the stack. % Integers and reals represent themselves; strings are other data that % appears in the CharString; names are CharString operator names. % A CharString in an array is called a "charproc"; a CharString on % the stack is called a "charstack", and is delimited by a mark. % Individual elements are called "chartokens". % ------ Encoding ------ % % Get the string for a chartoken. % Note that this string may be overwritten by the next call. /chartoken_string { % chartoken_string dup type Type1encode exch get exec } bind def % Compute the length of a CharString. /chartoken_length { % chartoken_length chartoken_string length } bind def /charproc_length { % charproc_length 0 exch { chartoken_length add } forall } bind def /charstack_length { % charstack_length counttomark 0 exch -1 1 { index chartoken_length add } for } bind def % Write a CharString to a file. Normally this will be a NullEncode filter % writing on a string of the correct length. /chartoken_write { % chartoken_write - chartoken_string writestring } bind def /charproc_write { % charproc_write - { 1 index exch chartoken_write } forall pop } bind def % Note that the arguments of charstack_write are backwards. /charstack_write { % charstack_write - counttomark 1 sub -1 1 { index 1 index exch chartoken_write } for cleartomark } bind def % Convert a charproc or charstack to an *un*encrypted CharString. /charproc_string { % charproc_string mark exch aload pop charstack_string } bind def /charstack_string { % charstack_string charstack_length lenIV 0 gt { lenIV add string dup dup length lenIV sub lenIV exch getinterval % skip lenIV } { string } ifelse /NullEncode filter exch 1 index counttomark 1 add 2 roll charstack_write closefile % lenIV 0 ge { 4330 exch dup .type1encrypt exch pop readonly } if } bind def % ------ Decoding ------ % % Decode a CharString (unencrypted). /charstack_read { % charstack_read { dup read not { pop exit } if Type1decode 1 index get dup null eq { pop 1 string dup 0 4 -1 roll put } { exch pop exec } ifelse exch } loop } bind def