Nick Croft was once rumoured to have said:
> Crossfire wrote:
> > 
> > I'm not entirely sure what you're trying to achieve, but if you're
> > trying to perform a global modification of the positioning of the
> > output, whynot just use translate?
> > 
> > C.
> 
> Global modification? Well not for all the lines where the height reference 
> is greater than 700.
> 
> Why do this? There's all these pattern matching statements to expunge 
> the unwanted words. I though one more statement to change a few numbers 
> wouldn't be such a big ask.
> 
> Why not just use translate? Fair enough, but will it be any better than /e 
> at targeting the height reference. I assume you mean the tr that you can 
> use with =~ .

Ugh, brane wasn't working this morning - now I know what you're trying
to do.

Try prepending to your postscript document:

/moveto {
  dup 700 gt { 50 add } if moveto
} bind def

That'll add 50 to the y coordinate of any moveto statement called with
a y > 700.

Just note that some things are *far* easier to do in postscript. ;)

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to