Re: Help with MusicXML Positioning

I see.  So the answer is that we are measuring from the origin of the glyph
as defined by the font.  Thank you that helps.


.mjb


On Tue, Mar 21, 2017 at 8:58 PM, Evan Brooks <scanmaniam@gmail.com> wrote:

> Hi Matthew,
>
> Currently, these relationships are all font-dependent.  It all depends on
> where the font designer has placed the origin for that particular glyph.
> Every font has its own placement for the origin of each individual glyph.
> This is one of the many non-standard features of current music fonts, and
> is yet another reason for SMuFL, assuming that SMuFL will specify the glyph
> origins as well as the numbering and other metadata.  For example, one
> could specify the origin of all staccato glyphs at the lower left point of
> the glyph bounding rectangle, or any other easily describable point that
> would be common to all implementations of this glyph type.  But that’s not
> how things stand with regular music fonts at this moment.
>
> —Evan
>
>
> > On Mar 21, 2017, at 8:42 PM-0700, Matthew James Briggs <
> matthew.james.briggs@gmail.com> wrote:
> >
> > I'm not sure if this is the right place for this, but the forum is
> closed, so...
> >
> > I can't seem to find the answer:
> >
> > When we have a glyph, say an accent mark or a staccato, how do we know
> the point on this glyph that default-x and default-y are originating from.
> We know that the default-x is relative to the left of the note, and
> default-y is relative to the top staff line, but I don't know how these are
> relative to the glyph.  Bottom left of the bounding box?  Center of the
> bounding box?  Something else?
> >
> > Sorry if it's in the documentation, I didn't see it.
> >
> > .mjb
> >
>
>

Received on Wednesday, 22 March 2017 15:46:11 UTC