Text crescendi starting at skips caused a
"Programmierfehler: Improbable offset for stencil: nan staff space"
error message and moved the text crescendi to the very beginning of the
staff.
Instead of grob->extent(...), use robust_relative_extent (grob, ...), which
also works with skips.
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
}
details = scm_acons (ly_symbol2scm ("X"),
- scm_from_double (bound_grob->extent (commonx, X_AXIS)
+ scm_from_double (robust_relative_extent (bound_grob, commonx, X_AXIS)
.linear_combination (attach)),
details);
}
line.translate (Offset (-me->relative_coordinate (commonx, X_AXIS),
-me->relative_coordinate (my_common_y, Y_AXIS)));
-
+
return line.smobbed_copy ();
}