diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2011-08-24 14:23:01 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | e87063d873b88427ffad038fcfbbe7e7a0b7437d (patch) | |
tree | 3e85316d76dda496da80e9df3eb6a6f9a828c761 /libass/ass_fontselect.h | |
parent | 4f2309430ae2f8086e2b46a45fd4f264a2e0a668 (diff) | |
download | libass-e87063d873b88427ffad038fcfbbe7e7a0b7437d.tar.bz2 libass-e87063d873b88427ffad038fcfbbe7e7a0b7437d.tar.xz |
Use streamed access for memory fonts
This is faster in many cases, and more suitable for Windows' GetFontData
function.
Diffstat (limited to 'libass/ass_fontselect.h')
-rw-r--r-- | libass/ass_fontselect.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |