Move ass_font_t to header.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 26 Nov 2006 20:38:06 +0000 (20:38 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 26 Nov 2006 20:38:06 +0000 (20:38 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@21282 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_cache.c
libass/ass_cache.h

index 9dc28b0..c347ef0 100644 (file)
 #include "ass_bitmap.h"
 #include "ass_cache.h"
 
-
-typedef struct ass_font_s {
-       ass_font_desc_t desc;
-       char* path;
-       int index;
-       FT_Face face;
-} ass_font_t;
-
 #define MAX_FONT_CACHE_SIZE 100
 
 static ass_font_t* font_cache;
index feb06f6..107da73 100644 (file)
@@ -33,6 +33,13 @@ typedef struct ass_font_desc_s {
        unsigned italic;
 } ass_font_desc_t;
 
+typedef struct ass_font_s {
+       ass_font_desc_t desc;
+       char* path;
+       int index;
+       FT_Face face;
+} ass_font_t;
+
 void ass_font_cache_init(void);
 int ass_new_font(FT_Library library, void* fontconfig_priv, ass_font_desc_t* desc, /*out*/ FT_Face* face);
 void ass_font_cache_done(void);