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_internal_types.h')
-rw-r--r--source/blender/blenfont/intern/blf_internal_types.h15
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 {