diff options
author | Grigori Goronzy <greg@blackbox> | 2010-02-06 04:02:16 +0100 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2010-02-06 04:02:16 +0100 |
commit | 2eb1d721838a83eca9e81473468637f63481a97f (patch) | |
tree | 9952aec7af0bcc05c8165b325340ada44226a579 /libass/ass.h | |
parent | 5a0097d767e6da919a97b2f5c63550967547311a (diff) | |
download | libass-2eb1d721838a83eca9e81473468637f63481a97f.tar.bz2 libass-2eb1d721838a83eca9e81473468637f63481a97f.tar.xz |
Do not try to render if fonts have not been configured
Diffstat (limited to 'libass/ass.h')
-rw-r--r-- | libass/ass.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass.h b/libass/ass.h index c3a91e0..d03753b 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -205,6 +205,8 @@ void ass_set_line_spacing(ASS_Renderer *priv, double line_spacing); * if fontconfig is used. * \param update whether fontconfig cache should be built/updated now. Only * relevant if fontconfig is used. + * + * NOTE: font lookup must be configured before an ASS_Renderer can be used. */ void ass_set_fonts(ASS_Renderer *priv, const char *default_font, const char *default_family, int fc, const char *config, |