+ current_mode_ = isTextFont(mi.base.fontname)
+ ? TEXT_MODE : MATH_MODE;
+
+ std::string const fontname = current_mode_ == MATH_MODE
+ ? "math" + font() : "text" + font();// I doubt that this still works
+
+ // When \cal is used in text mode, the font is not changed
+ bool really_change_font = fontname != "textcal";
+
+ Changer dummy = really_change_font ? mi.base.changeFontSet(fontname)
+ : Changer();