]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.C
Andres fixes to sstrem problems
[lyx.git] / src / FontInfo.C
index 4daf1d86aa52371496e0ab983dd2f7eed462c4a5..c61d6662bb8ff680209ea98e5ecfb94ac6104245 100644 (file)
@@ -13,6 +13,8 @@
 #include <cmath>       // fabs()
 #include <cstdlib>     // atoi()
 
+#include FORMS_H_LOCATION
+
 #ifdef __GNUG__
 #pragma implementation "FontInfo.h"
 #endif
@@ -22,6 +24,7 @@
 #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)
@@ -143,6 +146,17 @@ void FontInfo::query()
 }
 
 
+void FontInfo::init()
+{
+       sizes = 0;
+       strings = 0;
+       matches = 0;
+       queried = false;
+       scalable = false;
+       scaleindex = -1;
+}
+
+
 /// Release allocated stuff
 void FontInfo::release()
 {