#include "GuiFontLoader.h"
#include "qt_helpers.h"
-#include "support/debug.h"
#include "LyXRC.h"
#include "support/convert.h"
+#include "support/debug.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "support/Systemcall.h"
#include <QFontInfo>
#include <QFontDatabase>
+using namespace std;
+using namespace lyx::support;
QString const math_fonts[] = {"cmex10", "cmmi10", "cmr10", "cmsy10",
"eufm10", "msam10", "msbm10", "wasy10", "esint10"};
namespace lyx {
-using support::contains;
-using support::package;
-using support::addPath;
-using support::addName;
-
extern docstring const stateText(FontInfo const & f);
namespace frontend {
bool GuiFontLoader::available(FontInfo const & f)
{
- static std::vector<int> cache_set(NUM_FAMILIES, false);
- static std::vector<int> cache(NUM_FAMILIES, false);
+ static vector<int> cache_set(NUM_FAMILIES, false);
+ static vector<int> cache(NUM_FAMILIES, false);
FontFamily family = f.family();
if (cache_set[family])