@@ -28,12 +28,7 @@
#include "FontFaceBitMap.h"
#include "FontFaceFreeType.h"
#include "Graphics.h"
-#include "Log.h"
-#include "MemoryBuffer.h"
#include "Profiler.h"
-#include "ResourceCache.h"
-// #include "Texture2D.h"
-// #include "UI.h"
#include "DebugNew.h"
@@ -29,8 +29,6 @@ namespace Urho3D
{
class FontFace;
-class Image;
-class Texture2D;
static const int FONT_TEXTURE_MIN_SIZE = 128;
static const int FONT_DPI = 96;
@@ -22,16 +22,10 @@
#include "Precompiled.h"
#include "Context.h"
-#include "FileSystem.h"
#include "Font.h"
#include "FontFace.h"
-#include "Graphics.h"
#include "Log.h"
#include "Texture2D.h"
-#include "UI.h"
-#include "XMLFile.h"
@@ -30,6 +30,7 @@ namespace Urho3D
class Font;
+class Image;
class Texture2D;
/// Mutable font glyph description.
@@ -22,10 +22,12 @@
+#include "File.h"
#include "FileSystem.h"
+#include "Image.h"
#include "MemoryBuffer.h"
#include "ResourceCache.h"
@@ -29,7 +29,6 @@ namespace Urho3D
class Image;
class Serializer;
/// Bitmap font face description.
class URHO3D_API FontFaceBitMap : public FontFace
@@ -26,12 +26,11 @@
#include "UI.h"
#include <ft2build.h>
#include FT_FREETYPE_H