+2004-03-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * tex/titledefs.tex: remove scshape for piece.
+
+ * lily/line-spanner.cc (line_stencil): font-encoding = music, not
+ font-family
+
+ * lily/time-signature.cc (special_time_signature): font-encoding
+ not family.
+
+ * lily/dynamic-engraver.cc (acknowledge_grob): fix typo, attach
+ dynamic to head. This fixes p placement in morgenlied.
+
2004-03-23 Werner Lemberg <wl@gnu.org>
* stepmake/stepmake/generic-targets.make (help): Improve text.
void typeset_all ();
-TRANSLATOR_DECLARATIONS (Dynamic_engraver );
+ TRANSLATOR_DECLARATIONS (Dynamic_engraver);
protected:
virtual void finalize ();
if (script_ && !script_->get_parent (X_AXIS))
{
- SCM head = scm_last_pair (i.grob_->get_property ("heads"));
+ SCM head = scm_last_pair (i.grob_->get_property ("note-heads"));
if (gh_pair_p (head))
- script_->set_parent (unsmob_grob (head), X_AXIS);
+ script_->set_parent (unsmob_grob (gh_car (head)), X_AXIS);
}
}
struct Font_interface
{
static SCM text_font_alist_chain (Grob*);
- static SCM font_alist_chain (Grob*);
static Font_metric * get_default_font (Grob*);
static bool has_interface (Grob*);
};
&& type == ly_symbol2scm ("trill"))
{
SCM alist_chain = Font_interface::text_font_alist_chain (me);
- SCM style_alist = scm_list_n (gh_cons (ly_symbol2scm ("font-family"),
+ SCM style_alist = scm_list_n (gh_cons (ly_symbol2scm ("font-encoding"),
ly_symbol2scm ("music")),
SCM_UNDEFINED);
Font_metric *fm = select_font (me->get_paper (),
- gh_cons (style_alist,
- alist_chain));
+ gh_cons (style_alist,
+ alist_chain));
Stencil m = fm->find_by_name ("scripts-trill-element");
Stencil mol;
}
String char_name = style + to_string (n) + "/" + to_string (d);
- me->set_property ("font-family", ly_symbol2scm ("music"));
+ me->set_property ("font-encoding", ly_symbol2scm ("music"));
Stencil out = Font_interface::get_default_font (me)
->find_by_name ("timesig-" + char_name);
if (!out.is_empty ())
\lilypondifundefined{lilypondpiece}
{}
- {\flushleft{\large\normalfont\scshape\lilypondpiece}
+ {\flushleft{\large\normalfont\lilypondpiece}
\par}
\nopagebreak