diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-02-17 19:56:29 +0300 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-02-17 19:56:29 +0300 |
commit | 16a61743e133e505bd4666ad30d1697764171ad8 (patch) | |
tree | 5ba2783ade41a70fbe23ef08c2a2c6ae3984c7d1 /source/blender/blenfont/intern/blf_dir.c | |
parent | 9aa7e981bde5ad1b6f798ef5048cc4c373d09eb2 (diff) |
Making the things compiled!!
I change the #if 0 with #if WITH_FREETYPE2, also fix a lot of typos, etc.
This is the basic but now it draw text!!, I am using the "User Preference"
space to test the library, nobody is working on that and the option are
in the outliner now so...
TODO-next: using the 4x4 mat, string size, bounding box, aspect and rotate.
Notes: I update the Makefile, missing some include and other things so
maybe scons, cmake and msvc also need update ?
Diffstat (limited to 'source/blender/blenfont/intern/blf_dir.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_dir.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf_dir.c b/source/blender/blenfont/intern/blf_dir.c index dea422a1765..1216c610515 100644 --- a/source/blender/blenfont/intern/blf_dir.c +++ b/source/blender/blenfont/intern/blf_dir.c @@ -29,9 +29,19 @@ #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" +#include "DNA_vec_types.h" #include "BKE_utildefines.h" @@ -39,6 +49,8 @@ #include "BLI_linklist.h" /* linknode */ #include "BLI_string.h" +#include "BIF_gl.h" + #include "blf_internal_types.h" static ListBase global_font_dir= { NULL, NULL }; |