I'd rather not be compiling them at all though
@@ -29,6 +29,8 @@
#ifndef BITMAPFONTDEFINITIONS_H
#define BITMAPFONTDEFINITIONS_H
+#ifndef RMLUI_NO_FONT_INTERFACE_DEFAULT
+
#include <RmlUi/Core/Header.h>
#include <RmlUi/Core/Types.h>
#include <RmlUi/Core/Dictionary.h>
@@ -145,4 +147,7 @@ namespace BitmapFont {
}
+#endif
#endif
@@ -27,6 +27,9 @@
*/
#include "precompiled.h"
#include "FontFace.h"
#include "FontFaceHandle.h"
#include <RmlUi/Core/Log.h>
@@ -122,3 +125,5 @@ void BitmapFont::FontFace::ReleaseFace()
#ifndef RMLUICOREBITMAPFONTFACE_H
#define RMLUICOREBITMAPFONTFACE_H
#include "../FontFace.h"
#include "BitmapFontDefinitions.h"
@@ -67,3 +69,5 @@ private:
#include "FontFaceLayer.h"
#include <algorithm>
@@ -177,3 +180,6 @@ Rml::Core::FontFaceLayer* BitmapFont::FontFaceHandle::CreateNewLayer()
#ifndef RMLUICOREBITMAPFONTFONTFACEHANDLE_H
#define RMLUICOREBITMAPFONTFONTFACEHANDLE_H
#include "../UnicodeRange.h"
#include "../../../Include/RmlUi/Core/FontEffect.h"
#include "../../../Include/RmlUi/Core/FontGlyph.h"
@@ -92,3 +94,5 @@ private:
@@ -124,3 +127,5 @@ bool BitmapFont::FontFaceLayer::GenerateTexture(const byte*& texture_data, Vecto
#ifndef RMLUICOREBITMAPFONTFACELAYER_H
#define RMLUICOREBITMAPFONTFACELAYER_H
#include <RmlUi/Core/FontGlyph.h>
#include <RmlUi/Core/Geometry.h>
@@ -76,3 +78,5 @@ public:
#include "FontFamily.h"
@@ -52,3 +55,5 @@ bool BitmapFont::FontFamily::AddFace( void *bm_face, Style::FontStyle style, Sty
#ifndef RMLUICOREBITMAPFONTFAMILY_H
#define RMLUICOREBITMAPFONTFAMILY_H
#include "../FontFamily.h"
@@ -63,3 +65,5 @@ public:
#include "FontParser.h"
namespace Rml {
@@ -113,3 +116,6 @@ void BitmapFont::FontParser::HandleData(const String& RMLUI_UNUSED_PARAMETER(dat
#ifndef BITMAPFONTPARSER_H
#define BITMAPFONTPARSER_H
@@ -66,3 +68,5 @@ private:
#include "FontProvider.h"
#include "../FontDatabaseDefault.h"
@@ -204,3 +207,5 @@ void* BitmapFont::FontProvider::LoadFace(const byte* data, int data_length, cons
#ifndef RMLUICOREBITMAPFONTFONTPROVIDER_H
#define RMLUICOREBITMAPFONTFONTPROVIDER_H
#include <RmlUi/Core/StringUtilities.h>
#include "../FontProvider.h"
@@ -98,3 +100,6 @@ private:
@@ -29,6 +29,10 @@
#ifndef RMLUICOREBITMAPFONTPRECOMPILED_H
#define RMLUICOREBITMAPFONTPRECOMPILED_H
#include "../precompiled.h"
#include "../../../Include/RmlUi/Core/Log.h"
@@ -133,3 +136,5 @@ void FontFace::ReleaseFace()
#ifndef RMLUICOREFREETYPEFONTFACE_H
#define RMLUICOREFREETYPEFONTFACE_H
#include <ft2build.h>
#include FT_FREETYPE_H
#include "../../../Include/RmlUi/Core.h"
@@ -257,3 +260,6 @@ int FontFaceHandle::GetKerning(word lhs, word rhs) const
#ifndef RMLUICOREFREETYPEFONTFACEHANDLE_H
#define RMLUICOREFREETYPEFONTFACEHANDLE_H
#include "../FontFaceHandleDefault.h"
@@ -77,3 +79,5 @@ private:
@@ -54,3 +57,5 @@ bool FreeType::FontFamily::AddFace(void* ft_face, Style::FontStyle style, Style:
#ifndef RMLUICOREFREETYPEFONTFAMILY_H
#define RMLUICOREFREETYPEFONTFAMILY_H
@@ -64,3 +66,5 @@ public:
@@ -260,3 +263,5 @@ void* FontProvider::LoadFace(const byte* data, int data_length, const String& so
#ifndef RMLUICOREFREETYPEFONTPROVIDER_H
#define RMLUICOREFREETYPEFONTPROVIDER_H
@@ -102,3 +104,5 @@ private:
#ifndef RMLUICOREFREETYPEFONTPRECOMPILED_H
#define RMLUICOREFREETYPEFONTPRECOMPILED_H