for slur edges.
* scm/framework-tex.scm (dump-page): put stencil height in dumped
page.
2004-09-30 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/slur.cc (outside_slur_callback): epsilon-delta management
+ for slur edges.
+
* scm/framework-tex.scm (dump-page): put stencil height in dumped
page.
if (!bezext.contains (x))
return scm_make_real (0);
-
- Real y = curve.get_other_coordinate (X_AXIS, x);
+ Real dist = fabs (x - bezext[LEFT]) <? fabs (x - bezext[RIGHT]);
+
+ Real y = (dist > 1e-3)
+ ? curve.get_other_coordinate (X_AXIS, x)
+ : ((x < bezext.center())
+ ? curve.control_[0][Y_AXIS]
+ : curve.control_[3][Y_AXIS]);
+
if (yext.contains (y))
{
Direction dir = get_grob_direction (script);
(ly:outputter-dump-string
putter
(if last?
- "}\\vss\n}\n\\vfill\n"
- "}\\vss\n}\n\\vfill\\lilypondpagebreak\n")))
+ "}\\vss\n}\n\\vss\n"
+ "}\\vss\n}\n\\vss\\lilypondpagebreak\n")))
(define-public (output-framework outputter book scopes fields basename )
(let* ((bookpaper (ly:paper-book-book-paper book))