8 "/DotDict 200 dict def\n"
13 "/EncodingVector 256 array def\n"
16 "ISOLatin1Encoding 0 255 getinterval putinterval\n"
17 "EncodingVector 45 /hyphen put\n"
19 "% Set up ISO Latin 1 character encoding\n"
21 " dup dup findfont dup length dict begin\n"
22 " { 1 index /FID ne { def }{ pop pop } ifelse\n"
24 " /Encoding EncodingVector def\n"
25 " currentdict end definefont\n"
27 "/Times-Roman starnetISO def\n"
28 "/Times-Italic starnetISO def\n"
29 "/Times-Bold starnetISO def\n"
30 "/Times-BoldItalic starnetISO def\n"
31 "/Helvetica starnetISO def\n"
32 "/Helvetica-Oblique starnetISO def\n"
33 "/Helvetica-Bold starnetISO def\n"
34 "/Helvetica-BoldOblique starnetISO def\n"
35 "/Courier starnetISO def\n"
36 "/Courier-Oblique starnetISO def\n"
37 "/Courier-Bold starnetISO def\n"
38 "/Courier-BoldOblique starnetISO def\n"
42 "%%BeginResource: procset graphviz 0 0\n"
43 "/coord-font-family /Times-Roman def\n"
44 "/default-font-family /Times-Roman def\n"
45 "/coordfont coord-font-family findfont 8 scalefont def\n"
47 "/InvScaleFactor 1.0 def\n"
49 " dup 1 exch div /InvScaleFactor exch def\n"
54 "/solid { [] 0 setdash } bind def\n"
55 "/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def\n"
56 "/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def\n"
57 "/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def\n"
58 "/bold { 2 setlinewidth } bind def\n"
59 "/filled { } bind def\n"
60 "/unfilled { } bind def\n"
61 "/rounded { } bind def\n"
62 "/diagonals { } bind def\n"
63 "/tapered { } bind def\n"
65 "% hooks for setting color \n"
66 "/nodecolor { sethsbcolor } bind def\n"
67 "/edgecolor { sethsbcolor } bind def\n"
68 "/graphcolor { sethsbcolor } bind def\n"
69 "/nopcolor {pop pop pop} bind def\n"
71 "/beginpage { % i j npages\n"
75 " /str 10 string def\n"
78 " coordfont setfont\n"
80 " (\\() show i str cvs show (,) show j str cvs show (\\)) show\n"
87 " scalefont setfont\n"
90 "% draw text fitted to its expected width\n"
91 "/alignedtext { % width text\n"
97 " text stringwidth pop width exch sub text length div 0 text ashow\n"
102 "/boxprim { % xcorner ycorner xsize ysize\n"
108 " pop neg 0 rlineto\n"
117 " matrix currentmatrix\n"
125 "/endpage { showpage } bind def\n"
126 "/showpage { } def\n"
129 " [ % layer color sequence - darkest to lightest\n"
138 "/layerlen layercolorseq length def\n"
140 "/setlayer {/maxlayer exch def /curlayer exch def\n"
141 " layercolorseq curlayer 1 sub layerlen mod get\n"
142 " aload pop sethsbcolor\n"
143 " /nodecolor {nopcolor} def\n"
144 " /edgecolor {nopcolor} def\n"
145 " /graphcolor {nopcolor} def\n"
148 "/onlayer { curlayer ne {invis} if } def\n"
151 " /myupper exch def\n"
152 " /mylower exch def\n"
153 " curlayer mylower lt\n"
154 " curlayer myupper gt\n"
164 "14 default-font-family set_font\n"
165 "% /arrowlength 10 def\n"
166 "% /arrowwidth 5 def\n"
168 "% make sure pdfmark is harmless for PS-interpreters other than Distiller\n"
169 "/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse\n"
170 "% make '<<' and '>>' safe on PS Level 1 devices\n"
171 "/languagelevel where {pop languagelevel}{1} ifelse\n"
173 " userdict (<<) cvn ([) cvn load put\n"
174 " userdict (>>) cvn ([) cvn load put\n"
static const char * ps_txt[]