On *nix, report the font family name instead of "Multi"

* src/frontends/qt4/GuiFontLoader.C
	(QLFontInfo): use font.family() instead of font.rawName()
	as the latter always returns "Multi" on *nix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16195 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2006-12-07 00:49:56 +00:00
parent f5c6da2b51
commit 053c14d17b

View File

@ -263,7 +263,7 @@ QLFontInfo::QLFontInfo(LyXFont const & f)
if (lyxerr.debugging(Debug::FONT)) {
lyxerr[Debug::FONT] << "Font '" << f.stateText(0)
<< "' matched by\n" << fromqstr(font.rawName()) << endl;
<< "' matched by\n" << fromqstr(font.family()) << endl;
}
// Is this an exact match?