]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-head.cc
* lily/open-type-font.cc (attachment_point): new function.
[lilypond.git] / lily / note-head.cc
index d2bd30b576ffcc6689f1613944cb5372c50722ab..b5781a7a018d5be680bfd7874df1910301bbe391 100644 (file)
@@ -140,7 +140,7 @@ Note_head::stem_attachment_coordinate (Grob *me, Axis a)
       if (k >= 0)
        {
          Box b = fm->get_indexed_char (k);
-         Offset wxwy = fm->get_indexed_wxwy (k);
+         Offset wxwy = fm->attachment_point (key);
          Interval v = b[a];
          if (!v.is_empty ())
            return 2 * (wxwy[a] - v.center ()) / v.length ();