|
From: | Guy Stalnaker |
Subject: | Re: Lines or Boxes without reference to score or stave |
Date: | Fri, 7 Apr 2017 12:28:26 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
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? 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |