]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-size-engraver.cc
* lily/modified-font-metric.cc (text_dimension): try
[lilypond.git] / lily / font-size-engraver.cc
index edb728a5c5f448c3e7b79bff887de2de30614664..46672d0ac10f150cf0b685873af45b556d877da8 100644 (file)
@@ -36,7 +36,7 @@ Font_size_engraver::acknowledge_grob (Grob_info gi)
   if (gi.origin_trans_->context () != context ())
     return ;
   
-  if (ly_c_number_p (sz) && scm_to_double (sz))
+  if (scm_is_number (sz) && scm_to_double (sz))
     {
       Real font_size = scm_to_double (sz);
       
@@ -46,7 +46,7 @@ Font_size_engraver::acknowledge_grob (Grob_info gi)
 }
 
 
-ENTER_DESCRIPTION (Font_size_engraver,
+ADD_TRANSLATOR (Font_size_engraver,
 /* descr */       "Puts fontSize into font-relative-size grob property.",
 /* creats*/       "",
 /* accepts */     "",