On Fri, 2017-04-07 at 12:28 -0500, Guy Stalnaker wrote:
> Richard,
> 
> Fixed -- sent to lily list. Also, I mistyped -- one must know "points"
> and not pixels to use embedded postscript like this. I did some
> exploration last night on how that works trying to setup boxes that
> work on left/right margins at .75" (.75 * 72 points = 54 points), and
> top/bottom margins at 1.25" (1.25 * 72 points = 90 points) and though
> I did get a box, its right/top edges are not correct. So, still
> working on it. I do now understand your postscript code and what it
> does. I found a very nice introduction
> (http://paulbourke.net/dataformats/postscript/) that gave me the
> information I needed.
> 
> Q: how did you determine the point values you used?

Trial and error I suspect :(

Richard



> Regards,
> 
> Guy
> 
> On 4/7/2017 3:55 AM, Richard Shann wrote:
> 
> > On Thu, 2017-04-06 at 16:11 -0500, Guy Stalnaker wrote:
> > > I thank you because you answered by question.
> > It seems this didn't get posted to the mailing list, which would be a
> > shame as this reply seems to be the one that solved your problem.
> > 
> > >  This might be 
> > > worth an LSR, because it can be used to "draw" a box around anything
> > > as 
> > > long as one knows page dimensions by pixels.
> > It could be that there is nothing like this in the LSR - I *think* the
> > gsave ... grestore thing was something I devised when customizing
> > Nicholas Sceaux's title page work, so it could be a trick that is not
> > widely known...
> > 
> > Richard
> 
> -- 
> "Happiness is the meaning and the purpose of life, the whole aim and
> end of human existence." ― Aristotle



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to