- */
- if (gi.origin_trans_->context () != context ())
- return ;
-
- if (ly_c_number_p (sz) && ly_scm2double (sz))
- {
- Real font_size = ly_scm2double (sz);
-
- font_size += robust_scm2double (gi.grob_->get_property ("font-size"), 0);
- gi.grob_->set_property ("font-size", scm_make_real (font_size));
- }
+ */
+ if (!size)
+ return;
+
+ if (gi.context () != context ())
+ return;
+
+ Real font_size = size
+ + robust_scm2double (gi.grob ()->get_property ("font-size"), 0);
+ gi.grob ()->set_property ("font-size", scm_from_double (font_size));