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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-21 14:39:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-21 14:39:02 +0400
commit9a776daca8fa0aa9bfa22c0c4dd9b6e649acdb84 (patch)
treec8a7687986c108a138dd6144b87f2701074fbc93 /source/blender/makesdna/DNA_vfont_types.h
parent671e3df070c7868d8a5a445ebab5f819718270c4 (diff)
code cleanup: vfont's used confusing and over complicated method of storing memory for loaded fonts, not store as a temp var in the fonts.
Diffstat (limited to 'source/blender/makesdna/DNA_vfont_types.h')
-rw-r--r--source/blender/makesdna/DNA_vfont_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_vfont_types.h b/source/blender/makesdna/DNA_vfont_types.h
index 3cccfe6a19f..7aaeaf23db2 100644
--- a/source/blender/makesdna/DNA_vfont_types.h
+++ b/source/blender/makesdna/DNA_vfont_types.h
@@ -46,6 +46,10 @@ typedef struct VFont {
struct VFontData *data;
struct PackedFile *packedfile;
+
+ /* runtime only, holds memory for freetype to read from
+ * TODO, replace this with blf_font_new() style loading */
+ struct PackedFile *temp_pf;
} VFont;
/* *************** FONT ****************** */