lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semantics of X-offset Y-offset


From: Richard Shann
Subject: Re: Semantics of X-offset Y-offset
Date: Mon, 15 Apr 2013 14:32:54 +0100

On Mon, 2013-04-15 at 10:38 +0200, Janek Warchoł wrote:
> Hi,
> 
> 2013/4/15 Richard Shann <address@hidden>:
> > 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.
> 
> hth,

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.
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.


> Janek





reply via email to

[Prev in Thread] Current Thread [Next in Thread]