]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/qfont_loader.h
fix math fonts with LyX/Mac
[lyx.git] / src / frontends / qt2 / qfont_loader.h
index 87a0c030d24eca0c61eb177baace134d4f76fffc..73a0f4e4279085289fa6aa2f34f022a98b230ffe 100644 (file)
@@ -48,6 +48,12 @@ public:
        /// return pixel width for the given unicode char
        int charwidth(LyXFont const & f, Uchar val);
 
+       /// Called before QApplication is initialized
+       static void initFontPath();
+       
+       /// Called the first time when available() can't load a symbol font
+       static void addToFontPath();
+
 private:
        /// hold info about a particular font
        struct font_info {