[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exact placement rules for volta brackets?
From: |
Marc Hohl |
Subject: |
Re: exact placement rules for volta brackets? |
Date: |
Sat, 01 Sep 2012 18:05:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
Hi Arnold, Phil and David,
thanks for your answers!
Just for the record: the image I sent is the actual Lilypond
output.
I think the easiest way to handle volta brackets
is either using the anchor calculated by bar-line::calc-anchor
or the left and right edge of the (span) bar, i.e. the bar stencil without
the repeat dots.
I am currently rethinking the new bar line code in
http://codereview.appspot.com/6498052
Perhaps I rewrite it so that the span bar line starts at x = 0,
so placing a volta hook over the thin bar line would be straightforward.
Regards,
Marc
Am 31.08.2012 16:19, schrieb ArnoldTheresius:
Hello Marc,
I also detected (before), the horizontal position of the hooks is not
optimal - especially on line breaks.
I'm working on a callback function (scheme) for the /shorten-pair/ property
(which shifts the positions horizontally) - return value will depend on the
'after line breaking barline glyph' and the line-break-position (begin of
line, end of line, somewhere between).
I think, on Monday I can send you more information.
(If I'll not be ready, you'll have to wait an additional week ... )
ArnoldTheresius
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/exact-placement-rules-for-volta-brackets-tp131790p131820.html
Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
lilypond-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-devel
- Re: exact placement rules for volta brackets?,
Marc Hohl <=