From owner-freebsd-chat Wed May 17 12:40:35 2000 Delivered-To: freebsd-chat@freebsd.org Received: from reliant.nielsenmedia.com (reliant.nielsenmedia.com [205.129.32.15]) by hub.freebsd.org (Postfix) with ESMTP id 40B1737B783 for ; Wed, 17 May 2000 12:40:30 -0700 (PDT) (envelope-from David_W_Gray@tvratings.com) Received: from nmrusdunsxg0.nielsenmedia.com (nmrusdunsxg0.nielsenmedia.com [10.9.11.120]) by reliant.nielsenmedia.com (8.9.3/8.9.3) with ESMTP id PAA11051 for ; Wed, 17 May 2000 15:40:27 -0400 (EDT) Received: by nmrusdunsxg0.nielsenmedia.com with Internet Mail Service (5.5.2448.0) id ; Wed, 17 May 2000 15:40:27 -0400 Message-ID: <01D4D419B1A4D111A30400805FE65B130336634A@nmrusdunsx1.nielsenmedia.com> From: "Gray, David W." To: "'FreeBSD Chat List'" Subject: Do you *believe* this? Date: Wed, 17 May 2000 15:40:25 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I found the following buried treasure whilst trying to figure out why the Motif docs can't be handled by ghostscript. People who write things like this need to be shot. There is no other remedy. The idiot that did this wants to prove he's so goddamn smart... Like we *need* obfuscated postscript? For those who don't grok postscript, the prolog is a series of declarations, which generally form a set of procedures that let the writing program think of the text to be printed at a somewhat higher level. The entire first part of this utter abortion is just to let you say "scl" instead of "scale", etc. There is NO GOOD REASON for it. I consider myself to be competent in PS. Not a wizard, but competent. But I haven't a clue why this does not work under GS, and am not looking forward to the editing session it will take to clarify this. You are now returned to the GPL flamefest, already in progress. %!PS-Adobe-3.0 %%Creator: X Consortium PostScript Print Server %%EndComments %%BeginProlog %%BeginProcSet: XServer_PS_Functions /d{def}bind def/b{bind}bind d/bd{b d}b d/x{exch}bd/xd{x d}bd/dp{dup}bd/t {true}bd/f{false}bd/p{pop}bd/r{roll}bd/c{copy}bd/i{index}bd/rp{repeat}bd /n{newpath}bd/w{setlinewidth}bd/lc{setlinecap}bd/lj{setlinejoin}bd/sml{setmi terlimit}bd /ds{setdash}bd/ie{ifelse}bd/len{length}bd/m{moveto}bd/l{lineto}bd/rl{rlineto }bd /a{arc}bd/an{arcn}bd/st{stroke}bd/fl{fill}bd/ef{eofill}bd/sp{showpage}bd /cp{closepath}bd/clp{clippath}bd/cl{clip}bd/pb{pathbbox}bd/tr{translate}bd /rt{rotate}bd/dv{div}bd/ml{mul}bd/ad{add}bd/ng{neg}bd/scl{scale}bd/sc{setrgb color}bd /g{setgray}bd/gs{gsave}bd/gr{grestore}bd/sv{save}bd/rs{restore}bd/mx{matrix} bd /cm{currentmatrix}bd/sm{setmatrix}bd/ccm{concatmatrix}bd/cc{concat}bd/ff {findfont}bd/mf{makefont}bd/sf{setfont}bd/cft{currentfont}bd/fd{FontDirector y}bd /sh{show}bd/stw{stringwidth}bd/ci{colorimage}bd/ig{image}bd/im{imagemask}bd /cf{currentfile}bd/rh{readhexstring}bd/str{string}bd/al{aload}bd/wh{where}bd /kn{known}bd/stp{stopped}bd/bg{begin}bd/ed{end}bd/fa{forall}bd/pi{putinterva l}bd /mk{mark}bd/ctm{cleartomark}bd/df{definefont}bd/cd{currentdict}bd/db{20 dict dp bg}bd/de{ed}bd/languagelevel wh{p languagelevel}{1}ie 1 eq{/makepattern {p}bd/setpattern{p}bd/setpagedevice{p}bd}if/mp{makepattern}bd/spt{setpattern }bd /spd{setpagedevice}bd /XYr{/currentpagedevice wh {p currentpagedevice dp /HWResolution kn {/HWResolution get al p}{p 300 300}ie}{300 300}ie}bd/Cs{dp 0 eq{0 pHt tr XYr -1 x dv 72 ml x 1 x dv 72 ml x scl}if dp 1 eq{90 rt XYr -1 x dv 72 ml x 1 x dv 72 ml x scl}if dp 2 eq{pWd 0 tr XYr 1 x dv 72 ml x -1 x dv 72 ml x scl}if 3 eq{pHt pWd tr 90 rt XYr 1 x dv 72 ml x -1 x dv 72 ml x scl}if}bd/P{gs 1 w [] 0 ds 2 c m .1 ad x .1 ad x l st gr}bd/R{4 2 r m 1 i 0 rl 0 x rl ng 0 rl cp}bd/Ac{mx_ cm p 6 -2 r tr 4 2 r ng scl 0 0 .5 5 3 r a mx_ sm}bd /An{mx_ cm p 6 -2 r tr 4 2 r ng scl 0 0 .5 5 3 r an mx_ sm}bd/ISO{dp len dict bg{1 i/FID ne{d}{p p}ie}fa /Encoding ISOLatin1Encoding d cd ed df}bd /iN{dp len str cvs dp len x 1 i 3 ad str 2 c c p x p dp 3 -1 r(ISO)pi}bd /Tp{{x dp iN dp fd x kn{x p dp/f_ x d ff}{dp/f_ x d x ff ISO}ie x} {x dp /f_ x d ff x}ie}bd/Tf{Tp[x 0 0 2 i ng 0 0] dp/fm_ x d mf sf}bd/Tfm{Tp 1 -1 tm1_ scl tm2_ ccm dp/fm_ x d mf sf}bd/T{m sh}bd/Tb{gs sc f_ ff sf cft /FontMatrix get 3 get cft/FontBBox get dp 1 get x 3 get 2 i ml 3 1 r ml 0 0 m 4 i stw p 4 i 4 i m fm_ cc 0 2 i rl dp 0 rl 0 2 i ng rl 0 3 i rl ng 0 rl cp fl p p gr T}bd/Im1{6 4 r tr scl t [3 i 0 0 5 i 0 0]{cf str1 rh p} im}bd/Im24{gs 6 4 r tr scl 8 [3 i 0 0 5 i 0 0]{cf str3 rh p} f 3 ci}bd/Im1t{6 4 r tr scl t [3 i 0 0 5 i 0 0]{} im}bd/Im24t{gs 6 4 r tr scl 8 [3 i 0 0 5 i 0 0]{} f 3 ci}bd %%EndProcSet %%EndProlog To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message