#include <config.h>
#include "FontInfo.h"
+
#include "debug.h"
#include "lyxrc.h" // lyxrc.use_scalable_fonts
-#include "support/tostr.h"
+#include "frontends/lyx_gui.h"
+
#include "support/lstrings.h"
#include "support/lyxlib.h"
+#include "support/tostr.h"
-#include "frontends/lyx_gui.h"
+#include "lyx_forms.h"
-#include <cmath> // abs()
+#include <cmath>
-using namespace lyx::support;
+using lyx::support::atoi;
+using lyx::support::token;
-using std::endl;
using std::abs;
+using std::endl;
+using std::string;
-#include "lyx_forms.h"
/// Load font close to this size
string const FontInfo::getFontname(int size)