OSDN Git Service

Version: 0.4.3
[fontmanager/fontmanager.git] / fontconfigmanager.h
index af8b5e7..dd2c7af 100644 (file)
@@ -107,6 +107,8 @@ public:
 
     QStringList installableFamily(const QString &family, bool localOnly = false);
 
+    QString localeFamily(const QString &family) const;
+
 private:
     bool maybeSansSerifFont(InstalledFontInfo *info) const;
     bool maybeSerifFont(InstalledFontInfo *info) const;
@@ -138,6 +140,7 @@ private:
     QString mLocalFontPath;
     QString mLocalFontsConfPath;
     QList<InstalledFontInfo *> mFcListInfo;
+    QMap<QString, QString> mEnLocaleFontMap;
 
     FontsConf *mLocalFontsConf;
     FontsConf *mSystemLocalConf;