|
From: | Paul Morris |
Subject: | Re: Changing staff size with custom note head stencils |
Date: | Wed, 31 Oct 2012 19:11:25 -0400 |
On Oct 31, 2012, at 4:52 PM, Thomas Morley <address@hidden> wrote: Hi Paul, Hi Harm and Mike, Thank you both for your help! Harm's work around does the trick nicely! On Mike's suggestion I also switched to using internal path stencils instead of embedded PS. The only problem I ran into was using "fill" to get a filled triangle. I used: upTriangle = #(ly:make-stencil '(path 0.09 '(moveto -.1875 -.5 lineto .65625 .5 lineto 1.5 -.5 closepath fill () ) ) (cons -.1875 1.5) (cons -.5 .5) ) When I typeset my file the visual output is correct (filled triangles), but I get either an "Unsupported SCM value for format" error for each of those notes. (Or if I omit the "()" after "fill" then the rendering fails with "Wrong type argument in position 1 (expecting pair): ()"). I did not find much documentation for "path", only a snippet that doesn't use "fill" [1]. Does anyone know the value that is needed for "fill" to avoid this error? Thanks again, it will be great to be able to resize staves! -Paul |
[Prev in Thread] | Current Thread | [Next in Thread] |