#endif
using lyx::support::contains;
-using lyx::support::LibFileSearch;
-using lyx::support::OnlyPath;
-using lyx::support::QuoteName;
-using lyx::support::Systemcall;
using std::endl;
using std::make_pair;
}
// Qt 3.2 beta1 returns "xft" for all xft fonts
- if (font.rawName() == "xft") {
+ // Qt 4.1 returns "Multi" for all ? xft fonts
+ if (font.rawName() == "xft" || font.rawName() == "Multi") {
if (contains(fromqstr(fi.family()), family)) {
lyxerr[Debug::FONT] << " got it (Xft) ";
return true;
void FontLoader::update()
{
- for (int i1 = 0; i1 < LyXFont::NUM_FAMILIES; ++i1)
- for (int i2 = 0; i2 < 2; ++i2)
- for (int i3 = 0; i3 < 4; ++i3)
+ for (int i1 = 0; i1 < LyXFont::NUM_FAMILIES; ++i1)
+ for (int i2 = 0; i2 < 2; ++i2)
+ for (int i3 = 0; i3 < 4; ++i3)
for (int i4 = 0; i4 < 10; ++i4) {
delete fontinfo_[i1][i2][i3][i4];
fontinfo_[i1][i2][i3][i4] = 0;