]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontLoader.h
less string conversions as long as we stay in the frontend
[lyx.git] / src / frontends / FontLoader.h
index 478bfed1934ad0eb353954d43fe84205b3f17566..497f74598873276dd7cb435e833dd5a70e142c97 100644 (file)
@@ -14,7 +14,7 @@
 
 namespace lyx {
 
-class Font;
+class FontInfo;
 
 namespace frontend {
 
@@ -33,10 +33,10 @@ public:
        virtual void update() = 0;
 
        /// Is the given font available ?
-       virtual bool available(Font const & f) = 0;
+       virtual bool available(FontInfo const & f) = 0;
 
-       /// Get the Font metrics for this Font
-       virtual FontMetrics const & metrics(Font const & f) = 0;
+       /// Get the Font metrics for this FontInfo
+       virtual FontMetrics const & metrics(FontInfo const & f) = 0;
 };