2 font-size-grav.cc -- implement Font_size_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "font-size-engraver.hh"
11 #include "score-element.hh"
12 #include "lily-guile.hh"
14 Font_size_engraver::Font_size_engraver ()
20 Font_size_engraver::do_process_requests ()
22 Scalar s (get_property ("fontsize", 0));
24 if (s.length_i () && s.isnum_b ())
31 Font_size_engraver::acknowledge_element (Score_element_info e)
33 e.elem_l_->set_elt_property (ly_symbol ("fontsize"),
34 gh_int2scm (size_i_));
37 ADD_THIS_TRANSLATOR (Font_size_engraver);