Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenfont/intern/blf_font.c')
-rw-r--r--source/blender/blenfont/intern/blf_font.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index 6d185378c25..02b21264115 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -30,15 +30,11 @@
#include <stdlib.h>
#include <string.h>
-#ifdef WITH_FREETYPE2
-
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
-#endif /* WITH_FREETYPE2 */
-
#include "MEM_guardedalloc.h"
#include "DNA_listBase.h"
@@ -58,8 +54,6 @@
#include "blf_internal.h"
-#ifdef WITH_FREETYPE2
-
/* freetype2 handle. */
FT_Library global_ft_lib;
@@ -294,7 +288,6 @@ void blf_font_free(FontBLF *font)
void blf_font_fill(FontBLF *font)
{
- font->type= BLF_FONT_FREETYPE2;
font->mode= BLF_MODE_TEXTURE;
font->ref= 1;
font->aspect= 1.0f;
@@ -372,16 +365,3 @@ FontBLF *blf_font_new_from_mem(char *name, unsigned char *mem, int mem_size)
blf_font_fill(font);
return(font);
}
-
-#else /* !WITH_FREETYPE2 */
-
-int blf_font_init(void)
-{
- return(0);
-}
-
-void blf_font_exit(void)
-{
-}
-
-#endif /* WITH_FREETYPE2 */