- */
- if (gi.origin_trans_->daddy_context_ != daddy_context_)
- return ;
-
- if (gh_number_p (sz) && gh_scm2double (sz))
- {
- Real font_size = gh_scm2double (sz);
-
- font_size += robust_scm2double (gi.grob_->get_property ("font-size"), 0);
- gi.grob_->set_property ("font-size", gh_double2scm (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));