%!PS-Adobe-2.0 %%Version: 0.1 %%DocumentFonts: (atend) %%Pages: (atend) %%EndComments % % Version 3.3.2 prologue for troff files. % /#copies 1 store /aspectratio 1 def /formsperpage 1 def /landscape false def /linewidth .3 def /magnification 1 def /margin 0 def /orientation 0 def /resolution 720 def /rotation 1 def /xoffset 0 def /yoffset 0 def /roundpage true def /useclippath true def /pagebbox [0 0 612 792] def /R /Times-Roman def /I /Times-Italic def /B /Times-Bold def /BI /Times-BoldItalic def /H /Helvetica def /HI /Helvetica-Oblique def /HB /Helvetica-Bold def /HX /Helvetica-BoldOblique def /CW /Courier def /CO /Courier def /CI /Courier-Oblique def /CB /Courier-Bold def /CX /Courier-BoldOblique def /PA /Palatino-Roman def /PI /Palatino-Italic def /PB /Palatino-Bold def /PX /Palatino-BoldItalic def /Hr /Helvetica-Narrow def /Hi /Helvetica-Narrow-Oblique def /Hb /Helvetica-Narrow-Bold def /Hx /Helvetica-Narrow-BoldOblique def /KR /Bookman-Light def /KI /Bookman-LightItalic def /KB /Bookman-Demi def /KX /Bookman-DemiItalic def /AR /AvantGarde-Book def /AI /AvantGarde-BookOblique def /AB /AvantGarde-Demi def /AX /AvantGarde-DemiOblique def /NR /NewCenturySchlbk-Roman def /NI /NewCenturySchlbk-Italic def /NB /NewCenturySchlbk-Bold def /NX /NewCenturySchlbk-BoldItalic def /ZD /ZapfDingbats def /ZI /ZapfChancery-MediumItalic def /S /S def /S1 /S1 def /GR /Symbol def /inch {72 mul} bind def /min {2 copy gt {exch} if pop} bind def /setup { counttomark 2 idiv {def} repeat pop landscape {/orientation 90 orientation add def} if /scaling 72 resolution div def linewidth setlinewidth 1 setlinecap pagedimensions xcenter ycenter translate orientation rotation mul rotate width 2 div neg height 2 div translate xoffset inch yoffset inch neg translate margin 2 div dup neg translate magnification dup aspectratio mul scale scaling scaling scale addmetrics 0 0 moveto } def /pagedimensions { useclippath userdict /gotpagebbox known not and { /pagebbox [clippath pathbbox newpath] def roundpage currentdict /roundpagebbox known and {roundpagebbox} if } if pagebbox aload pop 4 -1 roll exch 4 1 roll 4 copy landscape {4 2 roll} if sub /width exch def sub /height exch def add 2 div /xcenter exch def add 2 div /ycenter exch def userdict /gotpagebbox true put } def /addmetrics { /Symbol /S null Sdefs cf /Times-Roman /S1 StandardEncoding dup length array copy S1defs cf } def /pagesetup { /page exch def currentdict /pagedict known currentdict page known and { page load pagedict exch get cvx exec } if } def /decodingdefs [ {counttomark 2 idiv {y moveto show} repeat} {neg /y exch def counttomark 2 idiv {y moveto show} repeat} {neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat} {neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat} {counttomark 2 idiv {y moveto show} repeat} {neg setfunnytext} ] def /setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def /w {neg moveto show} bind def /m {neg dup /y exch def moveto} bind def /done {/lastpage where {pop lastpage} if} def /f { dup /font exch def findfont exch dup /ptsize exch def scaling div dup /size exch def scalefont setfont linewidth ptsize mul scaling 10 mul div setlinewidth /spacewidth ( ) stringwidth pop def } bind def /changefont { /fontheight exch def /fontslant exch def currentfont [ 1 0 fontheight ptsize div fontslant sin mul fontslant cos div fontheight ptsize div 0 0 ] makefont setfont } bind def /sf {f} bind def /cf { dup length 2 idiv /entries exch def /chtab exch def /newencoding exch def /newfont exch def findfont dup length 1 add dict /newdict exch def {1 index /FID ne {newdict 3 1 roll put}{pop pop} ifelse} forall newencoding type /arraytype eq {newdict /Encoding newencoding put} if newdict /Metrics entries dict put newdict /Metrics get begin chtab aload pop 1 1 entries {pop def} for newfont newdict definefont pop end } bind def % % A few arrays used to adjust reference points and character widths in some % of the printer resident fonts. If square roots are too high try changing % the lines describing /radical and /radicalex to, % % /radical [0 -75 550 0] % /radicalex [-50 -75 500 0] % % Move braceleftbt a bit - default PostScript character is off a bit. % /Sdefs [ /bracketlefttp [201 500] /bracketleftbt [201 500] /bracketrighttp [-81 380] /bracketrightbt [-83 380] /braceleftbt [203 490] /bracketrightex [220 -125 500 0] /radical [0 0 550 0] /radicalex [-50 0 500 0] /parenleftex [-20 -170 0 0] /integral [100 -50 500 0] /infinity [10 -75 730 0] ] def /S1defs [ /underscore [0 80 500 0] /endash [7 90 650 0] ] def % % Tries to round clipping path dimensions, as stored in array pagebbox, so they % match one of the known sizes in the papersizes array. Lower left coordinates % are always set to 0. % /roundpagebbox { 7 dict begin /papersizes [8.5 inch 11 inch 14 inch 17 inch] def /mappapersize { /val exch def /slop .5 inch def /diff slop def /j 0 def 0 1 papersizes length 1 sub { /i exch def papersizes i get val sub abs dup diff le {/diff exch def /j i def} {pop} ifelse } for diff slop lt {papersizes j get} {val} ifelse } def pagebbox 0 0 put pagebbox 1 0 put pagebbox dup 2 get mappapersize 2 exch put pagebbox dup 3 get mappapersize 3 exch put end } bind def %%EndProlog %%BeginSetup mark % % Encoding vector and redefinition of findfont for the ISO Latin1 standard. % The 18 characters missing from ROM based fonts on older printers are noted % below. % /ISOLatin1Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent /dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space /exclamdown /cent /sterling /currency /yen /brokenbar % missing /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree % missing /plusminus % missing /twosuperior % missing /threesuperior % missing /acute /mu % missing /paragraph /periodcentered /cedilla /onesuperior % missing /ordmasculine /guillemotright /onequarter % missing /onehalf % missing /threequarters % missing /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth % missing /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply % missing /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute % missing /Thorn % missing /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth % missing /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide % missing /oslash /ugrave /uacute /ucircumflex /udieresis /yacute % missing /thorn % missing /ydieresis ] def /NewFontDirectory FontDirectory maxlength dict def % % Apparently no guarantee findfont is defined in systemdict so the obvious % % systemdict /findfont get exec % % can generate an error. So far the only exception is a VT600 (version 48.0). % userdict /@RealFindfont known not { userdict begin /@RealFindfont systemdict begin /findfont load end def end } if /findfont { dup NewFontDirectory exch known not { dup %dup systemdict /findfont get exec % not always in systemdict dup userdict /@RealFindfont get exec dup /Encoding get StandardEncoding eq { dup length dict begin {1 index /FID ne {def}{pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end /DummyFontName exch definefont } if NewFontDirectory 3 1 roll put } if NewFontDirectory exch get } bind def setup %%EndSetup %%Page: 1 1 /saveobj save def mark 1 pagesetup 12 /Times-Bold f (Ppmdraw User) 2277 1230 w (Manual) 3082 1230 w 10 /Times-Bold f (ppmdraw) 720 1920 w 10 /Times-Roman f (Updated: 22 June 2005) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (ppmdraw \255 draw lines, text, etc on a PPM image) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (ppmdraw) 720 2988 w 10 /Times-Roman f ({) 1162 2988 w 10 /Times-Bold f (\255script=) 1235 2988 w 10 /Times-Italic f (script) 1569 2988 w 10 /Times-Roman f 10 /S f (\357) 1822 2988 w 10 /Times-Bold f (\255scriptfile=) 1896 2988 w 10 /Times-Italic f (filename) 2363 2988 w 10 /Times-Roman f (} [) 2732 2988 w 10 /Times-Bold f (\255verbose) 2838 2988 w 10 /Times-Roman f (] [) 3198 2988 w 10 /Times-Italic f (ppmfile) 3289 2988 w 10 /Times-Roman f (]) 3589 2988 w (All) 720 3144 w (options) 876 3144 w (can) 1199 3144 w (be) 1366 3144 w (abbreviated) 1489 3144 w (to) 1983 3144 w (their) 2090 3144 w (shortest) 2302 3144 w (unique) 2642 3144 w (prefix.) 2943 3144 w (You) 3260 3144 w (may) 3461 3144 w (use) 3662 3144 w (two) 3824 3144 w (hyphens) 4003 3144 w (instead) 4365 3144 w (of) 4677 3144 w (one) 4789 3144 w (to) 4962 3144 w (designate) 720 3264 w (an) 1134 3264 w (option.) 1265 3264 w (You) 1608 3264 w (may) 1817 3264 w (use) 2026 3264 w (either) 2196 3264 w (white) 2460 3264 w (space) 2719 3264 w (or) 2977 3264 w (an) 3097 3264 w (equals) 3228 3264 w (sign) 3520 3264 w (between) 3723 3264 w (an) 4091 3264 w (option) 4221 3264 w (name) 4513 3264 w (and) 4765 3264 w (its) 4945 3264 w (value.) 720 3384 w 10 /Times-Bold f (DESCRIPTION) 720 3624 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3816 w 10 /Times-Bold f (ppmdraw) 720 3972 w 10 /Times-Roman f (draws) 1165 3972 w (lines,) 1431 3972 w (shapes,) 1673 3972 w (text,) 1992 3972 w (etc.) 2195 3972 w (on) 2364 3972 w (a) 2492 3972 w (PPM) 2565 3972 w (image.) 2795 3972 w (It) 3118 3972 w (is) 3208 3972 w (essentially) 3304 3972 w (an) 3755 3972 w (easy\255to\255program) 3878 3972 w (front) 4566 3972 w (end) 4789 3972 w (to) 4962 3972 w 10 /Times-Bold f (libnetpbm) 720 4092 w 10 /Times-Roman f ('s) 1160 4092 w ("ppmd") 1263 4092 w (subroutines.) 1604 4092 w (It) 2145 4092 w (lets) 2236 4092 w (you) 2405 4092 w (create) 2585 4092 w (a) 2852 4092 w (human\255friendly) 2926 4092 w (script) 3577 4092 w (to) 3829 4092 w (describe) 3937 4092 w (the) 4299 4092 w (drawing) 4451 4092 w (rather) 4808 4092 w (than write a C program.) 720 4212 w (You) 720 4368 w (supply) 930 4368 w (drawing) 1235 4368 w (instructions) 1600 4368 w (with) 2105 4368 w (a) 2321 4368 w (script,) 2403 4368 w (which) 2688 4368 w (you) 2970 4368 w (supply) 3159 4368 w (either) 3465 4368 w (in) 3731 4368 w (a) 3848 4368 w (file) 3931 4368 w (named) 4103 4368 w (by) 4408 4368 w (a) 4547 4368 w 10 /Times-Bold f (\255scriptfile) 4630 4368 w 10 /Times-Roman f (option or as the value of a) 720 4488 w 10 /Times-Bold f (\255script) 1782 4488 w 10 /Times-Roman f (option.) 2084 4488 w (Here is an example script:) 2415 4488 w (setpos 50 50;) 720 4668 w (text) 720 4788 w 10 /S f (_) 870 4788 w 10 /Times-Roman f (here 10 30 "hello";) 920 4788 w (setcolor black;) 720 4908 w (text) 720 5028 w 10 /S f (_) 870 5028 w 10 /Times-Roman f (here 10 0 "there";) 920 5028 w (line) 720 5148 w 10 /S f (_) 870 5148 w 10 /Times-Roman f (here 5 20;) 920 5148 w (This) 720 5364 w (example) 925 5364 w (starts) 1290 5364 w (at) 1528 5364 w (Column) 1627 5364 w (50,) 1977 5364 w (Row) 2130 5364 w (50) 2347 5364 w (of) 2475 5364 w (the) 2586 5364 w (input) 2736 5364 w (image) 2970 5364 w (and) 3242 5364 w (writes) 3414 5364 w (the) 3686 5364 w (word) 3836 5364 w ("hello") 4069 5364 w (there) 4379 5364 w (in) 4606 5364 w (10) 4712 5364 w (pixel) 4840 5364 w (high) 720 5484 w (white) 936 5484 w (letters) 1196 5484 w (at) 1478 5484 w (a) 1588 5484 w (30) 1670 5484 w (degree) 1808 5484 w (angle) 2111 5484 w (up) 2365 5484 w (from) 2503 5484 w (horizontal.) 2735 5484 w (Then,) 3228 5484 w (from) 3496 5484 w (where) 3728 5484 w (that) 4008 5484 w (leaves) 4195 5484 w (off,) 4481 5484 w (the) 4659 5484 w (script) 4818 5484 w (writes) 720 5604 w ("there") 996 5604 w (in) 1309 5604 w (10) 1419 5604 w (pixel) 1551 5604 w (high) 1783 5604 w (black) 1993 5604 w (letters) 2241 5604 w (horizontally.) 2517 5604 w (Finally,) 3082 5604 w (it) 3423 5604 w (draws) 3511 5604 w (a) 3782 5604 w (black) 3859 5604 w (line) 4108 5604 w (to) 4291 5604 w (a) 4402 5604 w (point) 4479 5604 w (5) 4718 5604 w (pixels) 4801 5604 w (over and 20 pixels down from the end of "there.") 720 5724 w (If you don't specify) 720 5880 w 10 /Times-Italic f (ppmfile) 1535 5880 w 10 /Times-Roman f (,) 1835 5880 w 10 /Times-Bold f (ppmdraw) 1885 5880 w 10 /Times-Roman f (reads its input PPM image from Standard Input.) 2327 5880 w (The output image goes to Standard Output.) 720 6036 w 10 /Times-Bold f (ppmdraw) 720 6192 w 10 /Times-Roman f (works) 1164 6192 w (on) 1435 6192 w (multi\255image) 1562 6192 w (streams.) 2078 6192 w (It) 2460 6192 w (executes) 2548 6192 w (the) 2918 6192 w (same) 3067 6192 w (script) 3299 6192 w (on) 3548 6192 w (each) 3675 6192 w (input) 3884 6192 w (image) 4117 6192 w (and) 4388 6192 w (produces) 4559 6192 w (an) 4946 6192 w (output) 720 6312 w (stream) 1004 6312 w (with) 1298 6312 w (one) 1504 6312 w (image) 1676 6312 w (for) 1948 6312 w (each) 2092 6312 w (input) 2302 6312 w (image.) 2536 6312 w (But) 2858 6312 w (before) 3031 6312 w (Netpbm) 3313 6312 w (10.32) 3663 6312 w (\(February) 3916 6312 w (2006\),) 4337 6312 w 10 /Times-Bold f (ppmdraw) 4623 6312 w 10 /Times-Roman f (ignored every image after the first.) 720 6432 w (If you just want to add a single line of text to an image,) 720 6588 w 10 /Times-Bold f (ppmlabel) 2954 6588 w 10 /Times-Roman f (may be more what you want.) 3380 6588 w 10 /Times-Bold f (OPTIONS) 720 6828 w (\255script=) 970 7020 w 10 /Times-Italic f (script) 1304 7020 w 10 /Times-Roman f (This option gives the script.) 1532 7020 w (See Script.) 2696 7020 w (You may not specify both) 970 7176 w 10 /Times-Bold f (\255script) 2033 7176 w 10 /Times-Roman f (and) 2335 7176 w 10 /Times-Bold f (\255scriptfile) 2504 7176 w 10 /Times-Roman f (.) 2914 7176 w cleartomark showpage saveobj restore %%EndPage: 1 1 %%Page: 2 2 /saveobj save def mark 2 pagesetup 10 /Times-Roman f (\255 2 \255) 2797 480 w 10 /Times-Bold f (\255scriptfile=) 970 840 w 10 /Times-Italic f (filename) 1437 840 w 10 /Times-Roman f (This option names a file that contains the script.) 1781 840 w 10 /Times-Bold f (\255) 3749 840 w 10 /Times-Roman f (means Standard Input.) 3807 840 w (You may not specify both) 970 996 w 10 /Times-Bold f (\255script) 2033 996 w 10 /Times-Roman f (and) 2335 996 w 10 /Times-Bold f (\255scriptfile) 2504 996 w 10 /Times-Roman f (.) 2914 996 w (You may not specify) 970 1152 w 10 /Times-Bold f (\255) 1830 1152 w 10 /Times-Roman f (\(Standard Input\) for both) 1888 1152 w 10 /Times-Bold f (\255scriptfile) 2914 1152 w 10 /Times-Roman f (and the input image file.) 3349 1152 w 10 /Times-Bold f (SCRIPT) 720 1392 w 10 /Times-Roman f (The) 720 1584 w (heart) 903 1584 w (of) 1130 1584 w 10 /Times-Bold f (ppmdraw) 1241 1584 w 10 /Times-Roman f (function) 1686 1584 w (is) 2047 1584 w (its) 2142 1584 w (script.) 2265 1584 w (The) 2565 1584 w (script) 2748 1584 w (is) 2998 1584 w (a) 3093 1584 w (character) 3165 1584 w (stream.) 3557 1584 w (The) 3901 1584 w (stream) 4084 1584 w (consists) 4378 1584 w (of) 4723 1584 w (com\255) 4835 1584 w (mands.) 720 1704 w (Commands) 1065 1704 w (are) 1555 1704 w (separated) 1709 1704 w (by) 2118 1704 w (semicolons.) 2251 1704 w (White) 2784 1704 w (space) 3061 1704 w (is) 3315 1704 w (regarded) 3415 1704 w (just) 3796 1704 w (like) 3974 1704 w (in) 4157 1704 w (C:) 4268 1704 w (Any) 4396 1704 w (contiguous) 4601 1704 w (stretch) 720 1824 w (of) 1022 1824 w (unquoted) 1141 1824 w (white) 1549 1824 w (space) 1807 1824 w (is) 2064 1824 w (equivalent) 2167 1824 w (to) 2619 1824 w (a) 2733 1824 w (single) 2813 1824 w (space) 3088 1824 w (character.) 3345 1824 w (Note) 3795 1824 w (that) 4025 1824 w (this) 4211 1824 w (means) 4393 1824 w (newlines) 4685 1824 w (have no particular significance.) 720 1944 w (A) 720 2100 w (command) 822 2100 w (is) 1246 2100 w (composed) 1343 2100 w (of) 1778 2100 w (tokens,) 1892 2100 w (separated) 2209 2100 w (from) 2616 2100 w (each) 2841 2100 w (other) 3054 2100 w (by) 3290 2100 w (white) 3421 2100 w (space.) 3674 2100 w (To) 3976 2100 w (write) 4118 2100 w (a) 4354 2100 w (token) 4429 2100 w (that) 4682 2100 w (con\255) 4863 2100 w (tains) 720 2220 w (white) 946 2220 w (space,) 1205 2220 w (enclose) 1488 2220 w (it) 1824 2220 w (in) 1917 2220 w (double) 2032 2220 w (quotes.) 2341 2220 w (Everything) 2689 2220 w (between) 3170 2220 w (two) 3539 2220 w (matched) 3725 2220 w (quotation) 4099 2220 w (marks) 4513 2220 w (is) 4793 2220 w (one) 4896 2220 w (token.) 720 2340 w (The) 720 2496 w (first) 901 2496 w (token) 1088 2496 w (of) 1336 2496 w (a) 1445 2496 w (command) 1515 2496 w (is) 1935 2496 w (the) 2028 2496 w (verb,) 2176 2496 w (which) 2404 2496 w (determines) 2674 2496 w (the) 3138 2496 w (basic) 3286 2496 w (function) 3517 2496 w (of) 3876 2496 w (the) 3985 2496 w (command.) 4133 2496 w (The) 4604 2496 w (rest) 4786 2496 w (of) 4957 2496 w (the) 720 2616 w (tokens) 868 2616 w (of) 1155 2616 w (the) 1264 2616 w (command) 1412 2616 w (are) 1832 2616 w (arguments,) 1979 2616 w (the) 2446 2616 w (meaning) 2594 2616 w (of) 2964 2616 w (which) 3073 2616 w (depends) 3343 2616 w (upon) 3696 2616 w (the) 3922 2616 w (verb.) 4070 2616 w (The following list) 4323 2616 w (gives all the valid verbs, and for each its meaning and its arguments.) 720 2736 w (setposSet) 970 2892 w (the) 1375 2892 w ("current) 1524 2892 w (position") 1874 2892 w (in) 2265 2892 w (the) 2370 2892 w (image.) 2519 2892 w (This) 2840 2892 w (affects) 3046 2892 w (where) 3339 2892 w (subsequent) 3610 2892 w (commands) 4082 2892 w (draw) 4543 2892 w (things.) 4770 2892 w (The 2 arguments are the column and row number.) 1220 3012 w (At the start of the script, the current position is \(0,0\).) 970 3168 w (setlinetypeThe) 970 3324 w (1) 1584 3324 w (argument) 1660 3324 w (is) 2063 3324 w ("normal") 2156 3324 w (or) 2547 3324 w ("nodiag.".) 2656 3324 w (This) 3111 3324 w (effects) 3315 3324 w (a) 3606 3324 w 10 /Times-Bold f (ppmd) 3676 3324 w 10 /S f (_) 3927 3324 w 10 /Times-Bold f (setlinetype\(\)) 3977 3324 w 10 /Times-Roman f (call.) 4525 3324 w (Further) 4746 3324 w (details are not yet documented.) 1220 3444 w (setlineclipThis effects a) 970 3600 w 10 /Times-Bold f (ppmd) 1943 3600 w 10 /S f (_) 2194 3600 w 10 /Times-Bold f (setlineclip\(\)) 2244 3600 w 10 /Times-Roman f (call.) 2763 3600 w (Not yet documented.) 2982 3600 w (setcolorThis) 970 3756 w (sets) 1495 3756 w (the) 1676 3756 w ("current) 1829 3756 w (color",) 2183 3756 w (which) 2485 3756 w (determines) 2760 3756 w (the) 3229 3756 w (color) 3382 3756 w (in) 3618 3756 w (which) 3727 3756 w (subsequent) 4002 3756 w (drawing) 4477 3756 w (com\255) 4835 3756 w (mands draw.) 1220 3876 w (Before the first) 1780 3876 w 10 /Times-Bold f (setcolor) 2409 3876 w 10 /Times-Roman f (, the current color is white.) 2741 3876 w (setfontThis) 970 4032 w (sets) 1447 4032 w (the) 1624 4032 w ("current) 1773 4032 w (font",) 2123 4032 w (which) 2377 4032 w (determines) 2648 4032 w (the) 3113 4032 w (font) 3263 4032 w (in) 3452 4032 w (which) 3558 4032 w (subsequent) 3830 4032 w (text) 4302 4032 w (drawing) 4480 4032 w (com\255) 4835 4032 w (mands draw.) 1220 4152 w (Before the first) 1780 4152 w 10 /Times-Bold f (setfont) 2409 4152 w 10 /Times-Roman f (, the current color is a built in font called "standard.") 2697 4152 w (The argument of this command is a file name.) 970 4308 w (It is the name of a Netpbm PPMD font file.) 2859 4308 w (A) 970 4464 w (Netpbm) 1071 4464 w (PPMD) 1422 4464 w (font) 1724 4464 w (file) 1914 4464 w (typically) 2076 4464 w (has) 2455 4464 w (a) 2617 4464 w (name) 2690 4464 w (that) 2935 4464 w (ends) 3114 4464 w (in) 3326 4464 w (".ppmdfont") 3433 4464 w (and) 3958 4464 w (its) 4131 4464 w (first) 4255 4464 w (8) 4446 4464 w (bytes) 4526 4464 w (are) 4767 4464 w (the) 4918 4464 w (ASCII encoding of "ppmdfont".) 970 4584 w (There) 970 4740 w (is) 1249 4740 w (only) 1363 4740 w (one) 1588 4740 w (of) 1779 4740 w (these) 1909 4740 w (fonts) 2161 4740 w (as) 2408 4740 w (far) 2538 4740 w (as) 2695 4740 w (we) 2826 4740 w (know.) 2990 4740 w (It) 3310 4740 w (is) 3419 4740 w (distributed) 3534 4740 w (with) 4010 4740 w (Netpbm) 4236 4740 w (as) 4606 4740 w (the) 4737 4740 w (file) 4907 4740 w 10 /Times-Bold f (standard.ppmdfont) 970 4860 w 10 /Times-Roman f (,) 1802 4860 w (but) 1872 4860 w (you) 2045 4860 w (don't) 2240 4860 w (need) 2496 4860 w (to) 2729 4860 w (use) 2852 4860 w (that) 3029 4860 w (file) 3223 4860 w (because) 3400 4860 w (the) 3759 4860 w (same) 3925 4860 w (font) 4174 4860 w (is) 4379 4860 w (built) 4490 4860 w (into) 4718 4860 w (the) 4918 4860 w (Netpbm) 970 4980 w (library) 1329 4980 w (and) 1632 4980 w (is) 1814 4980 w (the) 1919 4980 w (default.) 2079 4980 w (If) 2444 4980 w (you) 2548 4980 w (want) 2736 4980 w (to) 2968 4980 w (make) 3084 4980 w (a) 3338 4980 w (new) 3420 4980 w (font,) 3624 4980 w (you) 3848 4980 w (can) 4036 4980 w (find) 4212 4980 w (the) 4411 4980 w (format) 4571 4980 w (of) 4875 4980 w (a) 4996 4980 w (ppmdfont) 970 5100 w (file) 1396 5100 w (in) 1566 5100 w (the) 1681 5100 w (Netpbm) 1840 5100 w (interface) 2199 5100 w (header) 2584 5100 w (file) 2886 5100 w 10 /Times-Bold f (ppmdfont.h) 3055 5100 w 10 /Times-Roman f (,) 3559 5100 w (but) 3620 5100 w (you'll) 3784 5100 w (have) 4059 5100 w (to) 4283 5100 w (make) 4397 5100 w (your) 4649 5100 w (own) 4868 5100 w (tools to build it.) 970 5220 w (line) 970 5376 w (This) 1220 5376 w (draws) 1431 5376 w (a) 1702 5376 w (one) 1779 5376 w (pixel) 1956 5376 w (wide) 2190 5376 w (line) 2418 5376 w (in) 2602 5376 w (the) 2714 5376 w (current) 2870 5376 w (color.) 3186 5376 w (The) 3475 5376 w (4) 3664 5376 w (arguments) 3748 5376 w (are:) 4198 5376 w (starting) 4381 5376 w (column,) 4715 5376 w (starting row, ending column, ending row.) 1220 5496 w (This command does not affect the current position.) 970 5652 w (line) 970 5808 w 10 /S f (_) 1120 5808 w 10 /Times-Roman f (hereThis is like) 1170 5808 w 10 /Times-Bold f (line) 1811 5808 w 10 /Times-Roman f (, except it works in a more relative way.) 1967 5808 w (The) 970 5964 w (line) 1155 5964 w (starts) 1335 5964 w (at) 1576 5964 w (the) 1678 5964 w (current) 1830 5964 w (point.) 2142 5964 w (The) 2428 5964 w (two) 2613 5964 w (arguments) 2793 5964 w (are) 3239 5964 w (the) 3390 5964 w (rightward) 3542 5964 w (and) 3960 5964 w (downard) 4134 5964 w (displacement) 4513 5964 w (from) 970 6084 w (there) 1191 6084 w (of) 1417 6084 w (the) 1527 6084 w (terminal) 1676 6084 w (point.) 2036 6084 w (The) 2319 6084 w (command) 2501 6084 w (moves) 2922 6084 w (the) 3210 6084 w (current) 3358 6084 w (position) 3666 6084 w (to) 4015 6084 w (the) 4119 6084 w (terminal) 4267 6084 w (point) 4626 6084 w (after) 4858 6084 w (drawing.) 970 6204 w (spline3This) 970 6360 w (draws) 1472 6360 w (a) 1746 6360 w (spline) 1826 6360 w (in) 2101 6360 w (the) 2215 6360 w (current) 2373 6360 w (color) 2691 6360 w (through) 2932 6360 w (3) 3279 6360 w (points.) 3365 6360 w (The) 3696 6360 w (6) 3887 6360 w (arguments) 3973 6360 w (are) 4425 6360 w (the) 4582 6360 w (starting) 4740 6360 w (column, starting row, middle column, middle row, ending column, and ending row.) 1220 6480 w (This command does not affect the current position.) 970 6636 w (circle) 970 6792 w (This) 1220 6792 w (command) 1424 6792 w (draws) 1844 6792 w (a) 2108 6792 w (circle) 2178 6792 w (in) 2425 6792 w (the) 2529 6792 w (current) 2677 6792 w (color.) 2985 6792 w (The) 3266 6792 w (three) 3447 6792 w (arguments) 3672 6792 w (are) 4114 6792 w (the) 4261 6792 w (column) 4409 6792 w (number) 4735 6792 w (and row number of the center of the circle and the radius of the circle in pixels.) 1220 6912 w (filledrectangleThis command) 970 7068 w (draws) 2169 7068 w (a) 2433 7068 w (rectangle) 2503 7068 w (filled) 2894 7068 w (with) 3131 7068 w (the) 3335 7068 w (current) 3483 7068 w (color.) 3791 7068 w (The) 4072 7068 w (4) 4253 7068 w (arguments) 4329 7068 w (are) 4771 7068 w (the) 4918 7068 w (column) 1220 7188 w (and) 1553 7188 w (row) 1730 7188 w (numbers) 1918 7188 w (of) 2295 7188 w (the) 2411 7188 w (upper) 2566 7188 w (left) 2825 7188 w (corner) 2990 7188 w (of) 3276 7188 w (the) 3391 7188 w (rectangle,) 3545 7188 w (the) 3967 7188 w (width) 4121 7188 w (of) 4381 7188 w (the) 4496 7188 w (rectangle,) 4650 7188 w (and the height of the rectangle.) 1220 7308 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Page: 3 3 /saveobj save def mark 3 pagesetup 10 /Times-Roman f (\255 3 \255) 2797 480 w (text) 970 840 w (This command draws text in the current color in the built\255in font.) 1220 840 w (The 5 arguments are:) 3873 840 w (1) 970 996 w (column number of starting point of baseline) 1220 996 w (2) 970 1152 w (row number of starting point of baseline) 1220 1152 w (3) 970 1308 w (height of characters, in pixels) 1220 1308 w (4) 970 1464 w (angle of baseline in degrees elevated from the horizontal) 1220 1464 w (5) 970 1620 w (text) 1220 1620 w (Note) 970 1812 w (that) 1191 1812 w (if) 1368 1812 w (your) 1456 1812 w (text) 1666 1812 w (contains) 1843 1812 w (white) 2203 1812 w (space,) 2452 1812 w (you'll) 2725 1812 w (have) 2991 1812 w (to) 3206 1812 w (use) 3312 1812 w (double) 3473 1812 w (quotes) 3773 1812 w (to) 4062 1812 w (cause) 4168 1812 w (it) 4417 1812 w (to) 4501 1812 w (be) 4607 1812 w (a) 4729 1812 w (single) 4801 1812 w (token.) 970 1932 w (text) 970 2088 w 10 /S f (_) 1120 2088 w 10 /Times-Roman f (hereThis) 1170 2088 w (is) 1558 2088 w (like) 1664 2088 w 10 /Times-Bold f (text) 1853 2088 w 10 /Times-Roman f (,) 2013 2088 w (except) 2077 2088 w (that) 2376 2088 w (the) 2565 2088 w (baseline) 2726 2088 w (starts) 3092 2088 w (at) 3342 2088 w (the) 3453 2088 w (current) 3615 2088 w (position) 3937 2088 w (and) 4300 2088 w (the) 4484 2088 w (command) 4646 2088 w (updates the current position to the other end of the baseline after it draws.) 1220 2208 w (Bear) 970 2364 w (in) 1186 2364 w (mind) 1292 2364 w (that) 1526 2364 w (a) 1704 2364 w (script) 1776 2364 w (starts) 2026 2364 w (with) 2265 2364 w (the) 2471 2364 w (current) 2621 2364 w (position) 2931 2364 w (in) 3282 2364 w (the) 3388 2364 w (top) 3538 2364 w (line,) 3694 2364 w (so) 3898 2364 w (if) 4016 2364 w (you) 4106 2364 w (leave) 4285 2364 w (it) 4524 2364 w (there,) 4609 2364 w (only) 4862 2364 w (the bottom line of your text will be within the image!) 970 2484 w 10 /Times-Bold f (HISTORY) 720 2724 w (ppmdraw) 720 2916 w 10 /Times-Roman f (was new in Netpbm 10.29 \(August 2005\).) 1162 2916 w 10 /Times-Bold f (SEE ALSO) 720 3156 w (ppmlabel) 720 3312 w 10 /Times-Roman f (,) 1121 3312 w 10 /Times-Bold f (ppm) 1171 3312 w 10 /S1 f (________________________________________________________________________) 720 3432 w 10 /Times-Bold f (Table Of Contents) 720 3672 w 10 /LucidaSansUnicode22 f (\031) 720 3864 w 10 /Times-Roman f (SYNOPSIS) 970 3864 w 10 /LucidaSansUnicode22 f (\031) 720 4020 w 10 /Times-Roman f (DESCRIPTION) 970 4020 w 10 /LucidaSansUnicode22 f (\031) 720 4176 w 10 /Times-Roman f (OPTIONS) 970 4176 w 10 /LucidaSansUnicode22 f (\031) 720 4332 w 10 /Times-Roman f (SCRIPT) 970 4332 w 10 /LucidaSansUnicode22 f (\031) 720 4488 w 10 /Times-Roman f (SEE ALSO) 970 4488 w cleartomark showpage saveobj restore %%EndPage: 3 3 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 3