git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5412 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-10-15 14:42:16 +00:00
parent e2b02e86e4
commit 855925c969

View File

@ -142,10 +142,8 @@ void FontInfo::query()
scaleindex = i;
}
scalable = true;
};
// Ignore bogus matches of scalable fonts.
if (sizes[i] > 0 &&
lyx::atoi(token(name, '-', 12)) == 0)
} else if (lyx::atoi(token(name, '-', 12)) == 0)
// Ignore bogus matches of scalable fonts.
sizes[i] = 0;
};
XFreeFontNames(list);