home *** CD-ROM | disk | FTP | other *** search
- ECIRCLETXT.PS
- PRG formatted GEOS file V1.0
- LaserWriter 2.1
- 28 V2.0 or higher
- nonps
- BLASTER'S CONVERTER V2.5HX
- LW_Greek
- CAVE GIRL R
- Write Image V2.1
- Red Storm
- geoWrite V1.1
- This file was created with
- Wrong is Write.
- Written by Joe Buckley.
- %% Ron King
- %% THIS FILE MUST BE CONVERTED TO TRUE ASCII
- %% BEFORE UPLOADING TO A POSTSCRIPT PRINTER
- %% Puts text running around a circular arc in
- %% the middle of the page
- %% From the Postscript Cookbook by Adobe Systems
- %% Next 3 lines puts 64/128 under arc
- /Times-Roman findfont 72 scalefont setfont
- 210 504 moveto
- (64/128) show
- Circletext code
- /outsidecircletext
- { circtextdict begin
- /radius exch def
- /centerangle exch def
- /ptsize exch def
- /str exch def
- /xradius radius ptsize 4 div add def
- gsave
- centerangle str findhalfangle add rotate
- { /charcode exch def
- ( ) dup 0 charcode put outsideplacechar} forall
- grestore
- } def
- /circtextdict 16 dict def
- circtextdict begin
- /findhalfangle
- { stringwidth pop 2 div
- 2 xradius mul pi mul div 360 mul } def
- /outsideplacechar
- { /char exch def
- /halfangle char findhalfangle def
- gsave
- angle neg rotate
- radius 0 translate
- -90 rotate
- char stringwidth pop 2 div neg 0 moveto
- char show
- grestore
- halfangle 2 mul neg rotate} def
- %% Next line defines pi
- /pi 3.1415923 def
- %% Next line defines the font and size
- /Times-Bold findfont 36 scalefont setfont
- %% next line sets origin to page center
- 306 448 translate
- %% Your text goes in between the parenthesees
- (You Can do Anything With a Commodore)
- %% next line inputs point 36 (font size)
- %% angle (90 de
- %% radius of the arc 160 (in points)
- 250 504 moveto
- (64/128) show
- 36 90 200 outsidecircletext
- showpag
- %% next line inputs point 36 (font size)
- %% angle (90 degrees)
- %% radius of the arc 160 (in points)
- 250 504 moveto
- (64/128) show
- 36 90 200 outsidecircletext
- showpage
-