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 d...@gnu.org wrote: Paul Morris p...@paulwmorris.com writes: On Oct 31, 2012, at 7:11 PM, Paul Morris p...@paulwmorris.com 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).

Re: Changing staff size with custom note head stencils

2012-11-03 Thread David Kastrup
Paul Morris p...@paulwmorris.com writes: On Nov 2, 2012, at 4:45 PM, David Kastrup d...@gnu.org wrote: Paul Morris p...@paulwmorris.com writes: On Oct 31, 2012, at 7:11 PM, Paul Morris p...@paulwmorris.com wrote: That worked to avoid the error, but didn't seem quite right (since it

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 p...@paulwmorris.com 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-02 Thread David Kastrup
Paul Morris p...@paulwmorris.com writes: On Oct 31, 2012, at 7:11 PM, Paul Morris p...@paulwmorris.com 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

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 p...@paulwmorris.com wrote: On Oct 31, 2012, at 4:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Paul, postscript is scaled with global-staff-size only. To work around you could use: TwinNoteNoteHeads = #(lambda (grob) (let*

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 p...@paulwmorris.com wrote: On Oct 31, 2012, at 4:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Paul, postscript is scaled with global-staff-size only. To work around you

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

Re: Changing staff size with custom note head stencils

2012-10-31 Thread Thomas Morley
2012/10/31 Paul Morris p...@paulwmorris.com: [...] 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

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 p...@paulwmorris.com 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

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 thomasmorle...@googlemail.com 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