From e87063d873b88427ffad038fcfbbe7e7a0b7437d Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Wed, 24 Aug 2011 14:23:01 +0200 Subject: Use streamed access for memory fonts This is faster in many cases, and more suitable for Windows' GetFontData function. --- libass/ass_fontselect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libass/ass_fontselect.h') diff --git a/libass/ass_fontselect.h b/libass/ass_fontselect.h index 59a447b..e080ab0 100644 --- a/libass/ass_fontselect.h +++ b/libass/ass_fontselect.h @@ -36,8 +36,8 @@ ass_fontselect_init(ASS_Library *library, FT_Library ftlibrary, const char *family, const char *path, const char *config, int fc); char *ass_font_select(ASS_FontSelector *priv, ASS_Library *library, - ASS_Font *font, int *index, int *uid, ASS_Buffer *data, - uint32_t code); + ASS_Font *font, int *index, int *uid, + ASS_FontStream *data, uint32_t code); void ass_fontselect_free(ASS_FontSelector *priv); // Font provider functions -- cgit v1.2.3