diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2021-06-17 16:57:44 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2021-07-10 02:36:31 +0300 |
commit | 2ff663a6f3f0a9209a75116ff549fc78cef2b75c (patch) | |
tree | 7cb8d5da7b0377fc45f2b7013efc81c1d5ed234e /libass/ass_fontselect.h | |
parent | a7f67df5f96f03fab6661d90d716c16e0fab4a21 (diff) | |
download | libass-2ff663a6f3f0a9209a75116ff549fc78cef2b75c.tar.bz2 libass-2ff663a6f3f0a9209a75116ff549fc78cef2b75c.tar.xz |
Pass last-resort-fallback family name directly to get_font_info
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 907a1b5..eb0d112 100644 --- a/libass/ass_fontselect.h +++ b/libass/ass_fontselect.h @@ -285,14 +285,14 @@ ass_font_provider_add_font(ASS_FontProvider *provider, * \param path the path to the font file to read * \param postscript_name the PS name of the specific face to read (set either this or index) * \param index the face index to read, or -1 if not applicable - * \param require_family_name whether to try a fallback family name and fail if none found + * \param fallback_family_name family name from outside source, used as last resort * \param info the struct to store results into * \return success * */ bool ass_get_font_info(ASS_Library *lib, FT_Library ftlib, const char *path, const char *postscript_name, int index, - bool require_family_name, + const char *fallback_family_name, ASS_FontProviderMetaData *info); /** |