]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontLoader.h
Document pasteParagraphList as hinted by Jean-Marc
[lyx.git] / src / frontends / FontLoader.h
index ea5cf7388bd2f7db40d5808f1a43041f0f370e64..bddf8afcda0a2a30095b943fca6fa5992830b8be 100644 (file)
 #ifndef LYX_FONTLOADER_H
 #define LYX_FONTLOADER_H
 
+namespace lyx {
+
 class LyXFont;
 
-namespace lyx {
 namespace frontend {
 
+class FontMetrics;
+
 /// Hold info about a particular font
 class FontLoader
 {
@@ -31,9 +34,17 @@ public:
 
        /// Is the given font available ?
        virtual bool available(LyXFont const & f) = 0;
+
+       /// Get the Font metrics for this LyXFont
+       virtual FontMetrics const & metrics(LyXFont const & f) = 0;
 };
 
+
 } // namespace frontend
+
+/// Implementation is in Application.C
+extern frontend::FontLoader & theFontLoader();
+
 } // namespace lyx
 
 #endif // QFONT_LOADER_H