diff options
author | greg <greg@blackbox> | 2009-06-19 06:04:45 +0200 |
---|---|---|
committer | greg <greg@blackbox> | 2009-06-20 03:38:00 +0200 |
commit | 21ab30f2ffbc71af46c0e64824e0596f14ddb424 (patch) | |
tree | af165e3c5931b65e4f3a0f29f153c46bd98104d3 /libass/ass.h | |
parent | 4600a9a40e82d9583e6b99a6633cadd379b8aa93 (diff) | |
download | libass-21ab30f2ffbc71af46c0e64824e0596f14ddb424.tar.bz2 libass-21ab30f2ffbc71af46c0e64824e0596f14ddb424.tar.xz |
ass_set_fonts: optionally pass fontconfig config path
Optionally pass a fontconfig config file to the fontconfig
initialisation.
This changes the public API.
Diffstat (limited to 'libass/ass.h')
-rw-r--r-- | libass/ass.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libass/ass.h b/libass/ass.h index 238a33ca..304b42ee 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -91,9 +91,11 @@ void ass_set_line_spacing(ass_renderer_t *priv, double line_spacing); /** * \brief set font lookup defaults * \param fc bool, use fontconfig? + * \param config path to fontconfig configuration file, or NULL. Only matters + * if fontconfig is used */ int ass_set_fonts(ass_renderer_t *priv, const char *default_font, - const char *default_family, int fc); + const char *default_family, int fc, const char *config); /** * \brief render a frame, producing a list of ass_image_t |