From 749a9083318f7d59999c1f3ce891db658e089772 Mon Sep 17 00:00:00 2001 From: Diego Borghetti Date: Fri, 8 May 2009 19:47:40 +0000 Subject: 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. --- source/blender/blenfont/intern/blf_internal_types.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'source/blender/blenfont/intern/blf_internal_types.h') 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 { -- cgit v1.2.3