2006-08-19 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * input/regression/stencil-color-rotation.ly: new file.
+
+ * lily/include/translator.hh (struct Acknowledge_information):
+ revert: don't use Protected_scm in global objects, as GUILE can't
+ handle gc_unprotect from automated destructors.
+
* lily/grob.cc (get_print_stencil): use retval.expr() as base for
color, not the original stencil. Fixes combinations of
- color/transparency/rotation
+ color/transparency/rotation. Backportme.
* scripts/lilypond-book.py (main): add --formats=eps for
texinfo/latex.
Christopher Ellis
Claude Routhier
Colin Wilding
+Daniel Tonda Castillo
David Rogers
Francisco Vila
Harald Wellmann
+Johannes Schindelin
J. Leung
Karim Haddad
Karl Hammar
Lee T. Wilkirson
Mark Dewey
Markus Schneider
+Matti Aaltonen
Michael Meixner
Michael Welsh Duggan
Orm Finnendahl
--- /dev/null
+\header{
+ texidoc = "Combinations of rotation and color do work."
+}
+
+\version "2.9.15"
+\relative c'{
+ \override Hairpin #'rotation = #'(20 -1 0)
+ \override Hairpin #'color = #(x11-color 'LimeGreen)
+ g4\< b d f'\!
+}
struct Acknowledge_information
{
- Protected_scm symbol_;
+ SCM symbol_;
Engraver_void_function_engraver_grob_info function_;
};
#include "note-head.hh"
#include "pointer-group-interface.hh"
-MAKE_SCHEME_CALLBACK (Lyric_extender, print, 1)
- SCM
+MAKE_SCHEME_CALLBACK (Lyric_extender, print, 1);
+SCM
Lyric_extender::print (SCM smob)
{
Spanner *me = unsmob_spanner (smob);
right_point = max (right_point, heads.back ()->extent (common, X_AXIS)[RIGHT]);
Real h = sl * robust_scm2double (me->get_property ("thickness"), 0);
- Real pad = 2* h;
+ Real pad = 2 * h;
if (right_text)
right_point = min (right_point, (robust_relative_extent (right_text, common, X_AXIS)[LEFT] - pad));