mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21569 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c256661047
commit
ffd3c159bf
@ -9,18 +9,17 @@
|
|||||||
* Full author contact details are available in file CREDITS.
|
* Full author contact details are available in file CREDITS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LYX_NO_GUI_FONTLOADER_H
|
#ifndef NO_GUI_FONTLOADER_H
|
||||||
#define LYX_NO_GUI_FONTLOADER_H
|
#define NO_GUI_FONTLOADER_H
|
||||||
|
|
||||||
#include "frontends/FontLoader.h"
|
#include "frontends/FontLoader.h"
|
||||||
|
|
||||||
#include "frontends/NoGuiFontMetrics.h"
|
#include "frontends/NoGuiFontMetrics.h"
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
/// Dummy FontLoader for command-line output.
|
/// Dummy FontLoader for command-line output.
|
||||||
class NoGuiFontLoader: public FontLoader
|
class NoGuiFontLoader : public FontLoader
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
@ -29,10 +28,10 @@ public:
|
|||||||
virtual ~NoGuiFontLoader() {}
|
virtual ~NoGuiFontLoader() {}
|
||||||
|
|
||||||
/// Update fonts after zoom, dpi, font names, or norm change
|
/// Update fonts after zoom, dpi, font names, or norm change
|
||||||
virtual void update() {};
|
virtual void update() {}
|
||||||
|
|
||||||
/// Is the given font available ?
|
/// Is the given font available ?
|
||||||
virtual bool available(FontInfo const &) { return false; };
|
virtual bool available(FontInfo const &) { return false; }
|
||||||
|
|
||||||
/// Get the Font metrics for this FontInfo
|
/// Get the Font metrics for this FontInfo
|
||||||
virtual FontMetrics const & metrics(FontInfo const &) { return metrics_; }
|
virtual FontMetrics const & metrics(FontInfo const &) { return metrics_; }
|
||||||
@ -45,4 +44,4 @@ private:
|
|||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
} // namespace lyx
|
} // namespace lyx
|
||||||
|
|
||||||
#endif // LYX_NO_GUI_FONTLOADER_H
|
#endif // NO_GUI_FONTLOADER_H
|
||||||
|
Loading…
Reference in New Issue
Block a user