Hi,
2013/4/15 Richard Shann <[email protected]>:
> On Mon, 2013-04-15 at 10:38 +0200, Janek Warchoł wrote:
>> Hi,
>>
>> 2013/4/15 Richard Shann <[email protected]>:
>> > Question: where in the LilyPond source tree is the information about
>> > where the "origin" of the glyph is with respect to the center of the
>> > bounding rectangle of the glyph?
>> >
>> > Any help is much appreciated.
>>
>> Interesting coincidence. See
>> http://code.google.com/p/lilypond/issues/detail?id=3273 and the
>> conversation linked there.
>
> It does indeed help; it raises a different possibility which I had not
> really thought about: instead of teaching Denemo where the reference
> points are I can let the user turn on the red dots at the reference
> points and the user can click on them to achieve accurate positioning -
> more accurate than clicking in the "middle" of the object.
Sounds like a good idea.
> I have tested this using
> \new Staff \with { \printRefpoint ##f #'all-grobs }
> but it will be easier to have a single switch to turn the red dots on
> for all the staffs, indeed for all the \score blocks. I'll try and dig
> deeper into the code provided by Harm to see how to do this, but if
> anyone can easily tell me what to insert globally I will be eternally
> grateful.
Looks like using
\layout {
\context {
\Score
\printRefpoint ##f #'all-grobs
}
}
inserts refpoint dots for all grobs in a Score.
hth,
Janek
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel