lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 4022 in lilypond: Patch: Allow specifying diff


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4022 in lilypond: Patch: Allow specifying different alignment for grob and its parent
Date: Thu, 31 Jul 2014 07:46:51 +0000


Comment #23 on issue 4022 by address@hidden: Patch: Allow specifying different alignment for grob and its parent
http://code.google.com/p/lilypond/issues/detail?id=4022

@David:
\translate-scaled is like \translate when font-size is 0.  But if you
scale up a font, the translation of \translate-scaled also scaled.
Important for assembling compound glyphs like accordion symbols.

Ah, i see now. \translate-scaled is used for moving one part of a markup relative to another one, not the whole markup. It's hard to see that from the documentation example, and the output of the documentation example looks virtually the same for \translate and \translate-scaled.

@Keith:
Let aligned-on-x-parent interpret
  'parent-alignment-X = ##f
as "please use the same value as for self-alignment-X" (similarly to
your current patch) and define LyricText.parent-alignment-X = ##f

For all the other Grob types, if and when you change their default X-offset to self-alignment-interface::aligned-on-parent, also define their 'parent-alignment-X
to #CENTER or #LEFT so as to match the former behavior.

This makes sense. However, I think i would prefer using another special value for such behavior, and let parent-alignment-X = ##f mean a similar thing as self-alignment-X = ##f (i.e. "align on reference point of respective object").

That's because there are situations when the reference point does carry some useful information (i.e. it's neither simply on the left or in center) - for example in case of fretboard diagrams.

An even better example: note heads. Most of them have refpoint on their left edge, but the breve and longa are different (see attached). What's important is that the refpoint is where the notehead is attached to the musical moment (i.e. PaperColumn, shown with blue line here). So, we want to be able to align things like LyricTexts on that very refpoint.

Attachments:
        fretboard-refpoint.png  7.5 KB
        notehead-refpoint.png  4.7 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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