lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Be serious about setstrokeadjust in PostScript primitives (issue 866


From: dak
Subject: Re: Be serious about setstrokeadjust in PostScript primitives (issue 8663044)
Date: Sun, 14 Apr 2013 21:17:33 +0000

On 2013/04/14 20:38:12, janek wrote:
David,

i'm sorry, but i don't understand what the code does.  Obviously, it
would help
if i knew Postscript ;) but unfortunately i don't have time to learn
it now.

The most important resource is PLRM.pdf (available on Adobe's website,
though the location changes).

Since i suppose that quite a few devs may be in a similar situation, i
think
that adding some comments would be a good idea, even if they were
completely
obvious for people knowing PostScript.

There is a reason this file is commented sparingly: it appears in
every PostScript file produced by LilyPond.

PostScript is a rather idiosyncratic language, so one can't really
replace knowing the language with liberal amounts of commenting.

By the way: do i understand correctly that a rounded rectangle is
created as two objects - a "sharp" rectangle and a "rounded" line
around it?

There is no such things as a "rounded" line, but the corner join style
might be producing circles.

At any rate, this kind of rendition is only used when all of width,
height, and corner diameter are non-zero.  And calling painting
operations "objects" is a somewhat strange view.


https://codereview.appspot.com/8663044/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]