*
* \author Asger Alstrup
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#include <cmath> // fabs()
-
#include "xfont_loader.h"
#include "FontInfo.h"
-#include "gettext.h"
+
#include "debug.h"
+#include "LColor.h"
#include "lyxrc.h" // lyxrc.font_*
-#include "BufferView.h"
-#include "frontends/LyXView.h"
+
#include "frontends/lyx_gui.h"
-#include "support/systemcall.h"
+
#include "support/filetools.h"
+#include "support/systemcall.h"
-#include FORMS_H_LOCATION
+#include "lyx_forms.h"
+
+#include <algorithm>
using std::endl;
+using std::string;
+
+namespace lyx {
+
+using support::LibFileSearch;
+using support::OnlyPath;
+using support::Systemcall;
+
+namespace frontend {
// The global fontloader
xfont_loader fontloader;
getFontinfo(f.family(), f.series(), f.realShape());
return fontinfo[f.family()][f.series()][f.realShape()]->exist();
}
+
+} // namespace frontend
+} // namespace lyx