]> git.lyx.org Git - lyx.git/blobdiff - src/FontLoader.h
More ascii-export fixes and when making copy of single tabular cells now the
[lyx.git] / src / FontLoader.h
index 0b5b2b09b3fd518be7658aa487baf83f10f7cbeb..66e1676068c11b54cb620892b4e68bd305bddf34 100644 (file)
@@ -48,12 +48,15 @@ public:
                else
                        return doLoad(family, series, shape, size);
        };
+       /// Do we have anything matching?
+       bool available(LyXFont const & f);
+       
 private:
        /// Array of font structs
-       XFontStruct * fontstruct[4][2][4][10];
+       XFontStruct * fontstruct[LyXFont::NUM_FAMILIES][2][4][10];
 
        /// Array of font infos
-       FontInfo * fontinfo[4][2][4];
+       FontInfo * fontinfo[LyXFont::NUM_FAMILIES][2][4];
 
        /// Reset font handler
        void reset();