string str;
SCM properties = Font_interface::text_font_alist_chain (me);
+
+ if (!scm_is_number (me->get_property ("font-size")))
+ properties = scm_cons (scm_acons (ly_symbol2scm ("font-size"), scm_from_int (-6), SCM_EOL),
+ properties);
+
Stencil tm = *unsmob_stencil (Text_interface::interpret_markup
(me->layout ()->self_scm (), properties,
quant_score));
: ((fabs (bezext[RIGHT] - x) < EPS)
? curve.control_[3][Y_AXIS]
: curve.get_other_coordinate (X_AXIS, x));
- consider[k] = true;
/* Request shift if slur is contained script's Y, or if
script is inside slur and avoid == outside. */
}
Real avoidance_offset = 0.0;
- if (do_shift)
- {
- for (int d = LEFT, k = 0; d <= RIGHT; d++, k++)
- avoidance_offset = dir * (max (dir * avoidance_offset,
- dir * (ys[k] - yext[-dir] + dir * slur_padding)));
- }
-
+ for (int d = LEFT, k = 0; d <= RIGHT; d++, k++)
+ if (consider[k])
+ avoidance_offset = dir * (max (dir * avoidance_offset,
+ dir * (ys[k] - yext[-dir] + dir * slur_padding)));
+
return scm_from_double (scm_to_double (offset_scm) + avoidance_offset);
}
"A slur",
/* properties */
+ "avoid-slur " /* UGH. */
"control-points "
"dash-fraction "
"dash-period "
+ "details "
"direction "
"eccentricity "
"encompass-objects "
"height-limit "
+ "line-thickness "
"note-columns "
"positions "
"quant-score "
"ratio "
- "details "
- "thickness ");
+ "thickness "
+
+ );