3 * \file GuiFontLoader.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUI_FONTLOADER_H
13 #define GUI_FONTLOADER_H
15 #include "GuiFontMetrics.h"
23 * Qt font loader for LyX. Matches Fonts against
24 * actual QFont instances, and also caches metrics.
29 GuiFontInfo(FontInfo const & f);
33 /// Metrics on the font
34 GuiFontMetrics metrics;
39 GuiFontInfo const & getFontInfo(FontInfo const & f);
40 /// Get the QFont for this FontInfo
41 QFont const & getFont(FontInfo const & f);
43 } // namespace frontend
46 #endif // GUI_FONTLOADER_H