diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2021-03-26 04:29:55 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2021-04-29 03:18:15 +0300 |
commit | b4b744244799d9c3c81df809313e6a85347f1bd0 (patch) | |
tree | ccfbf3e4414c28cb7c38aeec4204f48eca745ec7 /libass/ass_fontselect.h | |
parent | f9caed9af523079419f856b9eba79fbff762f9ed (diff) | |
download | libass-b4b744244799d9c3c81df809313e6a85347f1bd0.tar.bz2 libass-b4b744244799d9c3c81df809313e6a85347f1bd0.tar.xz |
fontselect: coretext: reuse main FT_Library
Diffstat (limited to 'libass/ass_fontselect.h')
-rw-r--r-- | libass/ass_fontselect.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libass/ass_fontselect.h b/libass/ass_fontselect.h index 56c12d7..2cb5672 100644 --- a/libass/ass_fontselect.h +++ b/libass/ass_fontselect.h @@ -101,11 +101,13 @@ typedef void (*DestroyProviderFunc)(void *priv); * This is called by fontselect whenever a new logical font is created. The * font provider set as default is used. * + * \param priv font provider private data * \param lib ASS_Library instance * \param provider font provider instance * \param name font name (as specified in script) */ -typedef void (*MatchFontsFunc)(ASS_Library *lib, +typedef void (*MatchFontsFunc)(void *priv, + ASS_Library *lib, ASS_FontProvider *provider, char *name); |