X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fall-font-metrics.cc;h=537daa50add0e4438358b1845523c08dd98e6b19;hb=f4abbfff5f0d985a457e15586dbcc3ae473b0dee;hp=42b405e11bd44acd2ac74da382ea00992d406252;hpb=0b544cfb7332615ef809b71b57ab656741311ae1;p=lilypond.git diff --git a/lily/all-font-metrics.cc b/lily/all-font-metrics.cc index 42b405e11b..537daa50ad 100644 --- a/lily/all-font-metrics.cc +++ b/lily/all-font-metrics.cc @@ -103,7 +103,7 @@ All_font_metrics::find_pango_font (PangoFontDescription const *description, scm_from_double (1.0)); } g_free (pango_fn); - return dynamic_cast (unsmob_metrics (val)); + return dynamic_cast (Font_metric::unsmob (val)); } #endif @@ -128,15 +128,15 @@ All_font_metrics::find_otf (const string &name) debug_output ("]", false); - unsmob_metrics (val)->file_name_ = file_name; + Font_metric::unsmob (val)->file_name_ = file_name; SCM name_string = ly_string2scm (name); - unsmob_metrics (val)->description_ = scm_cons (name_string, + Font_metric::unsmob (val)->description_ = scm_cons (name_string, scm_from_double (1.0)); otf_dict_->set (sname, val); - unsmob_metrics (val)->unprotect (); + Font_metric::unsmob (val)->unprotect (); } - return dynamic_cast (unsmob_metrics (val)); + return dynamic_cast (Font_metric::unsmob (val)); } Font_metric *