diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-05-08 23:47:40 +0400 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-05-08 23:47:40 +0400 |
commit | 749a9083318f7d59999c1f3ce891db658e089772 (patch) | |
tree | 75d46fa3b25eaf162b81b1aeec0002ae1b59ef22 /source/blender/blenfont/intern/blf_internal_types.h | |
parent | bf2daa56c1a08f80176f5e817c3bc3c0e5749ba3 (diff) |
Cleanup blendfont.
Now that we only work with Freetype2, I don't see any point to keep
wrapping the functions.
Also remove the reference code, it's something that we don't go to used.
Diffstat (limited to 'source/blender/blenfont/intern/blf_internal_types.h')
-rw-r--r-- | source/blender/blenfont/intern/blf_internal_types.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index 9d762a7e155..1c55499b568 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -143,9 +143,6 @@ typedef struct FontBLF { /* draw mode, texture or bitmap. */ int mode; - /* reference count. */ - int ref; - /* aspect ratio or scale. */ float aspect; @@ -182,16 +179,8 @@ typedef struct FontBLF { /* current glyph cache, size and dpi. */ GlyphCacheBLF *glyph_cache; - /* engine data. */ - void *engine; - - /* engine functions. */ - void (*size_set)(struct FontBLF *, int, int); - void (*draw)(struct FontBLF *, char *); - void (*boundbox_get)(struct FontBLF *, char *, rctf *); - float (*width_get)(struct FontBLF *, char *); - float (*height_get)(struct FontBLF *, char *); - void (*free)(struct FontBLF *); + /* freetype2 face. */ + FT_Face face; } FontBLF; typedef struct DirBLF { |