I was trying to go a little bit beyond in my PostScript skills and tried to write 12 phrases with 30 of angle between them.
I don't really know how to name the problem, so the title is a bit weird...
Here is where I came so far:
%!
/Times-Roman findfont 20 scalefont setfont
/r 360 12 / def
306 396 translate
0 0 moveto
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
0 0 moveto
30 rotate
(text) show
showpage
But there are some problems with this code:
text
overwrites the others in the middleAny help?
As suggested by KenS, all the code between translate
and showpage
can be replaced by:
12 { 0 0 moveto (text) show 30 rotate } repeat
If you want to avoid overlaps, use this for instance:
12 { 50 0 moveto (text) show 30 rotate } repeat