summaryrefslogtreecommitdiffstats
path: root/libass/ass_fontselect.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-01 14:18:51 +0200
committerwm4 <wm4@nowhere>2015-09-01 14:18:51 +0200
commitab08d0799f82a64d80a2ba124b5308b07681adc4 (patch)
tree8f968fc8180f471aec5762f252fc6321b1912bae /libass/ass_fontselect.h
parent888c644420b138875bf5e9f956d926b0be784eae (diff)
downloadlibass-ab08d0799f82a64d80a2ba124b5308b07681adc4.tar.bz2
libass-ab08d0799f82a64d80a2ba124b5308b07681adc4.tar.xz
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.
Diffstat (limited to 'libass/ass_fontselect.h')
-rw-r--r--libass/ass_fontselect.h3
1 files changed, 2 insertions, 1 deletions
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 {