#include <cmath> // fabs()
#include <cstdlib> // atoi()
+#include FORMS_H_LOCATION
+
#ifdef __GNUG__
#pragma implementation "FontInfo.h"
#endif
#include "lyxrc.h" // lyxrc.use_scalable_fonts
#include "support/lstrings.h"
+using std::endl;
/// Load font close to this size
string FontInfo::getFontname(int size)
}
+void FontInfo::init()
+{
+ sizes = 0;
+ strings = 0;
+ matches = 0;
+ queried = false;
+ scalable = false;
+ scaleindex = -1;
+}
+
+
/// Release allocated stuff
void FontInfo::release()
{