summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_font.h')
-rw-r--r--libass/ass_font.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libass/ass_font.h b/libass/ass_font.h
index ab40548..a0d6660 100644
--- a/libass/ass_font.h
+++ b/libass/ass_font.h
@@ -48,8 +48,9 @@ typedef struct {
double size;
} ASS_Font;
-// FIXME: passing the hashmap via a void pointer is very ugly.
-ASS_Font *ass_font_new(void *font_cache, ASS_Library *library,
+#include "ass_cache.h"
+
+ASS_Font *ass_font_new(Cache *font_cache, ASS_Library *library,
FT_Library ftlibrary, void *fc_priv,
ASS_FontDesc *desc);
void ass_font_set_transform(ASS_Font *font, double scale_x,