Re: Flag stencil

2016-03-24 Thread Marc Hohl
Am 24.03.2016 um 09:37 schrieb Andrew Bernard: Hi Marc, Thanks. But I specifically mentioned I am drawing my own stencil, not using a font glyph. Yep, that's exactly what I wrote. The stuff with the glyphs was just an explanation for Lilypond's way to *choose* flags not to *stack* them, so

Re: Flag stencil

2016-03-24 Thread Andrew Bernard
Hi Malte, Thanks. I am engraving a massively complex work by my colleague, a principal exponent of the New Complexity School, and the flags are very subtle. But in fact, I am able to do precisely as you say and it handles all the cases I currently need with a function that calls straight-flag

Re: Flag stencil

2016-03-24 Thread Malte Meyn
Isn’t \override Flag.stencil = #modern-straight-flag or \override Flag.stencil = #(straight-flag [some values, see flag-styles.scm for explanation]) what you want? I think you don’t need to write the stencil from scratch ;) Am 24.03.2016 um 09:37 schrieb Andrew Bernard: Hi Marc, Thanks.

Re: Flag stencil

2016-03-24 Thread Andrew Bernard
Hi Marc, Thanks. But I specifically mentioned I am drawing my own stencil, not using a font glyph. Digging deeper, the answer lies in flag-styles.scm, where can be found a recursive function buildflag that recursively draws the supplied stencil in the right offsets according to the supplied

Re: Flag stencil

2016-03-24 Thread Marc Hohl
Am 24.03.2016 um 03:00 schrieb Andrew Bernard: When making a custom flag stencil, how does one go about getting all the flags added to the stem, for the various note values, not just one? Here’s what I have so far, which only makes one flag for any value. I want to draw my own paths, not add

Flag stencil

2016-03-23 Thread Andrew Bernard
When making a custom flag stencil, how does one go about getting all the flags added to the stem, for the various note values, not just one? Here’s what I have so far, which only makes one flag for any value. I want to draw my own paths, not add glyphs from the font. Andrew — snip \version