Home > Archive > PostScript > January 2006 > Clipping, clipsave and cliprestore
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Clipping, clipsave and cliprestore
|
|
| Owen Ransen 2006-01-19, 7:05 pm |
| The following program does not do what I expect it to
do when I use cliprestore.
I do clipsave to save the current (full page) clipping.
Then I do some clipping. Draw some text which is
clipped correctly, but if I use cliprestore the
clipping does not go back to full page clipping.
I have to do initclip to get the thing to work.
%!PS-Adobe-3.0
% save current clipping
clipsave
% create new clipping...
newpath
100 100 moveto
200 100 lineto
200 200 lineto
100 200 lineto
closepath
clip
% Draw clipped text...
/Times-Roman findfont 50 scalefont setfont
100 100 moveto (Lower Testo) show
% draw unclipped text
initclip
% cliprestore !!!This does not restore the full clipping
300 300 moveto (Testo page) show
showpage
| |
| Ken Sharp 2006-01-19, 7:05 pm |
| In article <1cevs1pdh5urlg5lk3flbtup74a76vufgn@4ax.com>,
willy@wonker.com says...
> The following program does not do what I expect it to
> do when I use cliprestore.
>
> I do clipsave to save the current (full page) clipping.
>
> Then I do some clipping. Draw some text which is
> clipped correctly, but if I use cliprestore the
> clipping does not go back to full page clipping.
> I have to do initclip to get the thing to work.
Works fine for me using GS 8.51 and a couple of other rips, the initclip
& cliprestore produce identical results. How are you teesting this ?
Ken
| |
| Owen Ransen 2006-01-20, 3:58 am |
| On Thu, 19 Jan 2006 17:23:37 -0000, Ken Sharp <ken@spamcop.net> wrote:
>In article <1cevs1pdh5urlg5lk3flbtup74a76vufgn@4ax.com>,
>willy@wonker.com says...
>
>Works fine for me using GS 8.51 and a couple of other rips, the initclip
>& cliprestore produce identical results. How are you teesting this ?
Thanks. I'm testing with GS, I'll check which version.
Curious, what other RIPs do you use for testing?
| |
| Ken Sharp 2006-01-20, 3:58 am |
| In article <4au0t1pdgrs82pc2obnfnq7uegk42vjqib@4ax.com>,
willy@wonker.com says...
>
> Thanks. I'm testing with GS, I'll check which version.
>
> Curious, what other RIPs do you use for testing?
Acrobat Distiller versions 5->7, Harlequin 6 and Jaws.
Ken
| |
| Owen Ransen 2006-01-21, 3:56 am |
| On Fri, 20 Jan 2006 08:09:07 -0000, Ken Sharp <ken@spamcop.net> wrote:
>In article <4au0t1pdgrs82pc2obnfnq7uegk42vjqib@4ax.com>,
>willy@wonker.com says...
>
>
>Acrobat Distiller versions 5->7, Harlequin 6 and Jaws.
Thanks Ken. By the way it is GS 4.something,. Think I need
to get an update!
|
|
|
|
|