#include "lyxfont.h"
+#include <gtkmm.h>
#include <X11/Xft/Xft.h>
class GWorkArea;
LyXFont::FONT_SHAPE shape,
LyXFont::FONT_SIZE size)
{
- if (fonts_[family][series][shape][size])
- return fonts_[family][series][shape][size];
- else
+ if (fonts_[family][series][shape][size])
+ return fonts_[family][series][shape][size];
+ else
return doLoad(family, series, shape, size);
- }
+ }
bool isSpecial(LyXFont const & f)
{
/** Does the actual loading of a font. Updates fontstruct. */
XftFont * doLoad(LyXFont::FONT_FAMILY family,
- LyXFont::FONT_SERIES series,
- LyXFont::FONT_SHAPE shape,
- LyXFont::FONT_SIZE size);
+ LyXFont::FONT_SERIES series,
+ LyXFont::FONT_SHAPE shape,
+ LyXFont::FONT_SIZE size);
};
///