changeset 21266:cda1a5ebc150

Move ass_font_t to header.
author eugeni
date Sun, 26 Nov 2006 20:38:06 +0000
parents 4e7a7dea3e1f
children 9ec30b8622ec
files libass/ass_cache.c libass/ass_cache.h
diffstat 2 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_cache.c	Sun Nov 26 20:34:54 2006 +0000
+++ b/libass/ass_cache.c	Sun Nov 26 20:38:06 2006 +0000
@@ -31,14 +31,6 @@
 #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;
--- a/libass/ass_cache.h	Sun Nov 26 20:34:54 2006 +0000
+++ b/libass/ass_cache.h	Sun Nov 26 20:38:06 2006 +0000
@@ -33,6 +33,13 @@
 	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);