diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 14:39:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 14:39:02 +0400 |
commit | 9a776daca8fa0aa9bfa22c0c4dd9b6e649acdb84 (patch) | |
tree | c8a7687986c108a138dd6144b87f2701074fbc93 /source/blender/makesdna/DNA_vfont_types.h | |
parent | 671e3df070c7868d8a5a445ebab5f819718270c4 (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.h | 4 |
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 ****************** */ |