namespace lyx {
-extern docstring const stateText(FontInfo const & f);
-
namespace frontend {
/**
GuiFontInfo * & fontinfo_ptr(FontInfo const & f)
{
// The display font and the text font are the same
- size_t const style = (f.style() == LM_ST_DISPLAY) ? LM_ST_TEXT : f.style();
+ size_t const style = (f.style() == DISPLAY_STYLE) ? TEXT_STYLE : f.style();
return fontinfo_[f.family()][f.series()][f.realShape()][f.size()][style];
}
break;
}
- LYXERR(Debug::FONT, "Font '" << stateText(f)
+ LYXERR(Debug::FONT, "Font '" << f.stateText()
<< "' matched by\n" << font.family());
// Is this an exact match?