diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-28 10:33:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-28 10:40:13 +0400 |
commit | 961d0409c89dff01fd4c2c5f9d6e0406068e7552 (patch) | |
tree | 00916af7b8c2cdbce51c1c67349a1fcd4482a76b /source/blender/blenlib/BLI_vfontdata.h | |
parent | 2b3fc4dea7d9928206da639cfc550b0f62377cb6 (diff) |
3D Text: use ghash for character lookups
Diffstat (limited to 'source/blender/blenlib/BLI_vfontdata.h')
-rw-r--r-- | source/blender/blenlib/BLI_vfontdata.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h index b0a57ee9288..9130061c53e 100644 --- a/source/blender/blenlib/BLI_vfontdata.h +++ b/source/blender/blenlib/BLI_vfontdata.h @@ -40,17 +40,14 @@ struct PackedFile; struct VFont; typedef struct VFontData { - ListBase characters; + struct GHash *characters; char name[128]; } VFontData; typedef struct VChar { - struct VChar *next, *prev; ListBase nurbsbase; - intptr_t index; - float resol; + unsigned int index; float width; - float *points; } VChar; VFontData *BLI_vfontdata_from_freetypefont(struct PackedFile *pf); |