Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1926

Re: Showing text across a back disc

From pt <masked@hotmail.com>
Newsgroups comp.lang.postscript
Subject Re: Showing text across a back disc
Date 2014-06-28 11:28 +0100
Message-ID <MPG.2e18a91ca5110f94989681@news.btinternet.com> (permalink)
References <slrnlqskju.4c0.peter@box8.pjb.com.au>

Show all headers | View raw


In article <slrnlqskju.4c0.peter@box8.pjb.com.au>, peter@www.pjb.com.au 
says...
> 
> Greetings :-) In:
> 
>   300 300 translate
>   /Helvetica-BoldOblique findfont 40 scalefont setfont
>   -150 0 moveto (Hello black disc) show
>   gsave newpath
>     0 10 80 0 360 arc clip fill
>     1 setgray
>     -150 0 moveto (Hello black disc) show
>   grestore
> 
> the text has to be printed twice, and the movetos must be identical.
> Is there a more elegant way ?
> 
> Regards,  Peter


Try:
300 300 translate
  /Helvetica-BoldOblique findfont 40 scalefont setfont
  -150 0 moveto (Hello black disc) true charpath
    80 10 moveto	%to start of arcn
    0 10 80 360 0 arcn fill

Or:
300 300 translate
  /Helvetica-BoldOblique findfont 40 scalefont setfont
  -150 0 moveto (Hello black disc) true charpath
    80 10 moveto	%to start of arc
    0 10 80 0 360 arc eofill

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Showing text across a back disc Peter Billam <peter@www.pjb.com.au> - 2014-06-28 05:28 +0000
  Re: Showing text across a back disc luser- -droog <mijoryx@yahoo.com> - 2014-06-28 00:24 -0700
    Re: Showing text across a back disc Peter Billam <peter@www.pjb.com.au> - 2014-06-28 10:09 +0000
  Re: Showing text across a back disc pt <masked@hotmail.com> - 2014-06-28 11:28 +0100
    Re: Showing text across a back disc Peter Billam <peter@www.pjb.com.au> - 2014-06-28 11:53 +0000
  Re: Showing text across a back disc jdaw1 <jdawiseman@gmail.com> - 2014-06-28 13:53 -0700

csiph-web