summaryrefslogtreecommitdiffstats
path: root/libass/ass_types.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2015-08-06 04:35:56 +0200
committerwm4 <wm4@nowhere>2015-08-28 14:06:52 +0200
commit5c7e811cce10489d8762ee51eb3d390dfc33cbef (patch)
treec77d4ab16946286048f94b175a493e5442f8a7ef /libass/ass_types.h
parent038250b6bf4bb9a2b6d545f5f0a74b327302ca8b (diff)
downloadlibass-5c7e811cce10489d8762ee51eb3d390dfc33cbef.tar.bz2
libass-5c7e811cce10489d8762ee51eb3d390dfc33cbef.tar.xz
fontconfig: implement substitutions
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'libass/ass_types.h')
-rw-r--r--libass/ass_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h
index bc0efd8..f56a754 100644
--- a/libass/ass_types.h
+++ b/libass/ass_types.h
@@ -119,10 +119,10 @@ typedef void (*MatchFontsFunc)(ASS_Library *lib,
*
* \param priv font provider private data
* \param name input string for substitution, as specified in the script
- * \return output string for substitution, allocated with malloc(), must be
- * freed by caller, can be NULL if no substitution was done.
+ * \param meta metadata (fullnames and n_fullname) to be filled in
*/
-typedef char *(*SubstituteFontFunc)(void *priv, const char *name);
+typedef void (*SubstituteFontFunc)(void *priv, const char *name,
+ ASS_FontProviderMetaData *meta);
/**
* Get an appropriate fallback font for a given codepoint.