comparison libass/ass_cache.h @ 21317:dcfd069efd8f

Move ass_font_t allocation to ass_font.h.
author eugeni
date Mon, 27 Nov 2006 17:13:52 +0000
parents 0603972f083c
children 7b7627ff1937
comparison
equal deleted inserted replaced
21316:c07ce830b435 21317:dcfd069efd8f
42 FT_Vector v; // current shift 42 FT_Vector v; // current shift
43 int size; 43 int size;
44 } ass_font_t; 44 } ass_font_t;
45 45
46 void ass_font_cache_init(void); 46 void ass_font_cache_init(void);
47 ass_font_t* ass_new_font(FT_Library library, void* fontconfig_priv, ass_font_desc_t* desc); 47 ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
48 void ass_font_cache_add(ass_font_t* font);
48 void ass_font_cache_done(void); 49 void ass_font_cache_done(void);
49 50
50 51
51 // describes a glyph; glyphs with equivalents structs are considered identical 52 // describes a glyph; glyphs with equivalents structs are considered identical
52 typedef struct glyph_hash_key_s { 53 typedef struct glyph_hash_key_s {