* MathFactory.C:
- initMath(): revert change from r15327 because initSymbols() is needed for proper math parsing.
- math_font_available(): return false if lyx::use_gui is false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15331
a592a061-630c-0410-9148-
cb99ea01b6c8
bool math_font_available(string & name)
{
+ if (!lyx::use_gui)
+ return false;
+
LyXFont f;
augmentFont(f, name);
if (!initialized) {
initialized = true;
initParser();
- if (lyx::use_gui)
- initSymbols();
+ initSymbols();
}
}