From 961d0409c89dff01fd4c2c5f9d6e0406068e7552 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 28 Dec 2013 17:33:19 +1100 Subject: 3D Text: use ghash for character lookups --- source/blender/blenlib/BLI_vfontdata.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/blender/blenlib/BLI_vfontdata.h') 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); -- cgit v1.2.3