%!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 (Ppmdist) 2316 1230 w (User) 2774 1230 w (Manual) 3043 1230 w 10 /Times-Bold f (ppmdist) 720 1920 w 10 /Times-Roman f (Updated: 22 July 1992) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (ppmdist \255 simplistic grayscale assignment for machine generated, color images) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (ppmdist) 720 2988 w 10 /Times-Roman f ([) 1096 2988 w 10 /Times-Bold f (\255intensity) 1129 2988 w 10 /S f (\357) 1529 2988 w 10 /Times-Bold f (\255frequency) 1578 2988 w 10 /Times-Roman f (] [) 2038 2988 w 10 /Times-Italic f (ppmfile) 2129 2988 w 10 /Times-Roman f (]) 2429 2988 w 10 /Times-Bold f (DESCRIPTION) 720 3228 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3420 w 10 /Times-Bold f (ppmdist) 720 3576 w 10 /Times-Roman f (reads) 1098 3576 w (a) 1335 3576 w (PPM) 1407 3576 w (image) 1636 3576 w (as) 1908 3576 w (input) 2019 3576 w (and) 2253 3576 w (performs) 2425 3576 w (a) 2813 3576 w (simplistic) 2885 3576 w (grayscale) 3303 3576 w (assignment) 3707 3576 w (intended) 4185 3576 w (for) 4557 3576 w (use) 4701 3576 w (with) 4862 3576 w (grayscale or bitmap printers.) 720 3696 w (Often) 720 3852 w (conversion) 975 3852 w (from) 1441 3852 w (ppm) 1663 3852 w (to) 1869 3852 w (pgm) 1976 3852 w (will) 2183 3852 w (yield) 2368 3852 w (an) 2597 3852 w (image) 2720 3852 w (with) 2993 3852 w (contrast) 3200 3852 w (too) 3545 3852 w (low) 3702 3852 w (for) 3881 3852 w (good) 4026 3852 w (printer) 4255 3852 w (output.) 4550 3852 w (The) 4885 3852 w (program maximizes contrast between the gray levels output.) 720 3972 w (A) 720 4128 w (ppm) 822 4128 w (input) 1030 4128 w (of) 1266 4128 w (n) 1379 4128 w (colors) 1459 4128 w (is) 1733 4128 w (read,) 1831 4128 w (and) 2058 4128 w (a) 2233 4128 w (pgm) 2308 4128 w (of) 2517 4128 w (n) 2631 4128 w (gray) 2712 4128 w (levels) 2920 4128 w (is) 3184 4128 w (written.) 3282 4128 w (The) 3646 4128 w (gray) 3832 4128 w (levels) 4040 4128 w (take) 4304 4128 w (on) 4501 4128 w (the) 4632 4128 w (values) 4785 4128 w (0..n\2551, while maxval takes on n\2551.) 720 4248 w (The) 720 4404 w (mapping) 908 4404 w (from) 1291 4404 w (color) 1518 4404 w (to) 1756 4404 w (stepped) 1868 4404 w (grayscale) 2207 4404 w (can) 2617 4404 w (be) 2789 4404 w (performed) 2917 4404 w (in) 3366 4404 w (order) 3478 4404 w (of) 3722 4404 w (input) 3839 4404 w (pixel) 4079 4404 w (intensity,) 4313 4404 w (or) 4717 4404 w (input) 4834 4404 w (pixel frequency \(number of repetitions\).) 720 4524 w (This program is helpful only for images with a very small number of colors.) 720 4680 w 10 /Times-Bold f (OPTIONS) 720 4920 w (\255frequency) 970 5112 w 10 /Times-Roman f (Sort) 1430 5112 w (input) 1628 5112 w (colors) 1865 5112 w (by) 2140 5112 w (the) 2271 5112 w (number) 2424 5112 w (of) 2760 5112 w (times) 2874 5112 w (a) 3122 5112 w (color) 3197 5112 w (appears) 3433 5112 w (in) 3768 5112 w (the) 3877 5112 w (input,) 4031 5112 w (before) 4294 5112 w (mapping) 4580 5112 w (to) 4962 5112 w (evenly distributed graylevels of output.) 1220 5232 w 10 /Times-Bold f (\255intensity) 970 5388 w 10 /Times-Roman f (Sort) 1370 5388 w (input) 1563 5388 w (colors) 1795 5388 w (by) 2065 5388 w (their) 2191 5388 w (grayscale) 2400 5388 w (intensity,) 2802 5388 w (before) 3198 5388 w (mapping) 3478 5388 w (to) 3855 5388 w (evenly) 3960 5388 w (distributed) 4253 5388 w (graylev\255) 4708 5388 w (els of output.) 1220 5508 w (This is the default.) 1795 5508 w 10 /Times-Bold f (SEE ALSO) 720 5748 w 10 /Times-Roman f (ppmtopgm, ppmhist, ppm) 720 5904 w 10 /Times-Bold f (AUTHOR) 720 6144 w 10 /Times-Roman f (Copyright \(C\) 1993 by Dan Stromberg.) 720 6300 w 10 /S1 f (________________________________________________________________________) 720 6420 w 10 /Times-Bold f (Table Of Contents) 720 6660 w 10 /LucidaSansUnicode22 f (\031) 720 6852 w 10 /Times-Roman f (NAME) 970 6852 w 10 /LucidaSansUnicode22 f (\031) 720 7008 w 10 /Times-Roman f (SYNOPSIS) 970 7008 w 10 /LucidaSansUnicode22 f (\031) 720 7164 w 10 /Times-Roman f (DESCRIPTION) 970 7164 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 /LucidaSansUnicode22 f (\031) 720 840 w 10 /Times-Roman f (OPTIONS) 970 840 w 10 /LucidaSansUnicode22 f (\031) 720 996 w 10 /Times-Roman f (SEE ALSO) 970 996 w 10 /LucidaSansUnicode22 f (\031) 720 1152 w 10 /Times-Roman f (AUTHOR) 970 1152 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 2