From ab08d0799f82a64d80a2ba124b5308b07681adc4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 1 Sep 2015 14:18:51 +0200 Subject: fontselect: simplify get_fallback signature Apparently we only need the font family (and even that isn't used in all font providers). Drop the others. --- libass/ass_fontselect.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libass/ass_fontselect.h') diff --git a/libass/ass_fontselect.h b/libass/ass_fontselect.h index f420935..db8133a 100644 --- a/libass/ass_fontselect.h +++ b/libass/ass_fontselect.h @@ -123,12 +123,13 @@ typedef void (*SubstituteFontFunc)(void *priv, const char *name, * fallbacks. * * \param priv font provider private data + * \param family original font family name (try matching a similar font) * \param codepoint Unicode codepoint (UTF-32) * \return output font family, allocated with malloc(), must be freed * by caller. */ typedef char *(*GetFallbackFunc)(void *priv, - ASS_FontProviderMetaData *meta, + const char *family, uint32_t codepoint); typedef struct font_provider_funcs { -- cgit v1.2.3