Re: Changing staff size with custom note head stencils

2012-11-03 Thread David Kastrup
Paul Morris writes: > On Nov 2, 2012, at 4:45 PM, David Kastrup wrote: > >> Paul Morris writes: >> >>> On Oct 31, 2012, at 7:11 PM, Paul Morris wrote: >>> >>> That worked to avoid the error, but didn't seem quite right (since it >>> didn't seem to matter what values you fed it). So I checke

Re: Changing staff size with custom note head stencils

2012-11-03 Thread Paul Morris
On Nov 2, 2012, at 4:45 PM, David Kastrup wrote: > Paul Morris writes: > >> On Oct 31, 2012, at 7:11 PM, Paul Morris wrote: >> >> That worked to avoid the error, but didn't seem quite right (since it >> didn't seem to matter what values you fed it). So I checked the >> LilyPond source code

Re: Changing staff size with custom note head stencils

2012-11-02 Thread David Kastrup
Paul Morris writes: > On Oct 31, 2012, at 7:11 PM, Paul Morris wrote: > > That worked to avoid the error, but didn't seem quite right (since it > didn't seem to matter what values you fed it). So I checked the > LilyPond source code (scm/output-ps.scm), and it seems like this is > the better wa

Re: Changing staff size with custom note head stencils

2012-11-02 Thread Paul Morris
On Oct 31, 2012, at 7:11 PM, Paul Morris wrote: > 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 > '(

Re: Changing staff size with custom note head stencils

2012-11-01 Thread m...@mikesolomon.org
On 1 nov. 2012, at 12:44, m...@mikesolomon.org wrote: > On 1 nov. 2012, at 00:11, Paul Morris wrote: > >> On Oct 31, 2012, at 4:52 PM, Thomas Morley >> wrote: >> >>> Hi Paul, >>> >>> postscript is scaled with global-staff-size only. >>> >>> To work around you could use: >>> >>> TwinNoteNo

Re: Changing staff size with custom note head stencils

2012-11-01 Thread m...@mikesolomon.org
On 1 nov. 2012, at 00:11, Paul Morris wrote: > On Oct 31, 2012, at 4:52 PM, Thomas Morley > wrote: > >> Hi Paul, >> >> postscript is scaled with global-staff-size only. >> >> To work around you could use: >> >> TwinNoteNoteHeads = >> #(lambda (grob) >> (let* ((sz (ly:grob-property grob 'fo

Re: Changing staff size with custom note head stencils

2012-10-31 Thread Paul Morris
On Oct 31, 2012, at 4:52 PM, Thomas Morley wrote: > Hi Paul, > > postscript is scaled with global-staff-size only. > > To work around you could use: > > TwinNoteNoteHeads = > #(lambda (grob) > (let* ((sz (ly:grob-property grob 'font-size 0.0)) > (mult (magstep sz))) > (set! (ly:

Re: Changing staff size with custom note head stencils

2012-10-31 Thread m...@mikesolomon.org
On 31 oct. 2012, at 20:27, Paul Morris wrote: > Hello, I'm trying to increase the overall size of a given staff, as > described in the docs[1] using: > > \new Staff \with { > fontSize = #2 > \override StaffSymbol #'staff-space = #(magstep 2) > > \override NoteHead #'before-line-

Re: Changing staff size with custom note head stencils

2012-10-31 Thread Thomas Morley
2012/10/31 Paul Morris : [...] > > upTriangle = > #(ly:make-stencil > (list 'embedded-ps > "gsave > currentpoint translate > newpath [...] Hi Paul, postscript is scaled with global-staff-size only. To work around you could use: TwinNoteNoteHeads = #(lambda (grob) (let* ((s

Changing staff size with custom note head stencils

2012-10-31 Thread Paul Morris
Hello, I'm trying to increase the overall size of a given staff, as described in the docs[1] using: \new Staff \with { fontSize = #2 \override StaffSymbol #'staff-space = #(magstep 2) \override NoteHead #'before-line-breaking = \TwinNoteNoteHeads } But I'm also using custom not