X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftime-signature.cc;h=77cc1ab69915e0b4845c96420bb7df1e19b8d99e;hb=867530093ed5374d6e28d2c11a933f3b991c226e;hp=4e3f7e2057bdcfd321d688a4d3819429617fe5e5;hpb=2522fadff41b2b07313c4967a4f85c147fe9b9c4;p=lilypond.git diff --git a/lily/time-signature.cc b/lily/time-signature.cc index 4e3f7e2057..77cc1ab699 100644 --- a/lily/time-signature.cc +++ b/lily/time-signature.cc @@ -52,6 +52,10 @@ Time_signature::special_time_signature (Score_element*me, String s, int n, int d { // First guess: s contains only the signature style String symbolname = "timesig-" + s + to_str (n) + "/" + to_str (d); + + /* + Randomly probing the font sucks? + */ Molecule m = Font_interface::get_default_font (me)->find_by_name (symbolname); if (!m.empty_b()) @@ -70,7 +74,7 @@ Time_signature::special_time_signature (Score_element*me, String s, int n, int d Molecule Time_signature::time_signature (Score_element*me,int num, int den) { - SCM chain = gh_list (me->mutable_property_alist_, me->immutable_property_alist_, SCM_UNDEFINED); + SCM chain = Font_interface::font_alist_chain (me); Molecule n = Text_item::text2molecule (me, ly_str02scm (to_str (num).ch_C ()),