summaryrefslogtreecommitdiffstats
path: root/libass/ass_fontselect.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2011-08-18 06:19:33 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-07-10 10:42:40 +0200
commit3b72ae063fe2f4d7adb7c59587155e0a45c692d0 (patch)
tree152ef37547601f32509ff552c7d15ee80388f506 /libass/ass_fontselect.h
parentcce454eac1f3bee89cb7cdb8d35032917f430142 (diff)
downloadlibass-3b72ae063fe2f4d7adb7c59587155e0a45c692d0.tar.bz2
libass-3b72ae063fe2f4d7adb7c59587155e0a45c692d0.tar.xz
Restore fontconfig runtime configuration
Pass the fontconfig configuration file option and enable switch through into the font selector. This restores some of the old functionality related to fontconfig. However, the functionality to delay the fontconfig database update will not come back. This is not a big problem. Later it will be possible to manually add the fontconfig provider, which will delay the update in a comparable way.
Diffstat (limited to 'libass/ass_fontselect.h')
-rw-r--r--libass/ass_fontselect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_fontselect.h b/libass/ass_fontselect.h
index 43a32fb..651968d 100644
--- a/libass/ass_fontselect.h
+++ b/libass/ass_fontselect.h
@@ -60,7 +60,7 @@ typedef struct font_provider_meta_data {
ASS_FontSelector *
ass_fontselect_init(ASS_Library *library,
FT_Library ftlibrary, const char *family,
- const char *path);
+ const char *path, const char *config, int fc);
char *ass_font_select(ASS_FontSelector *priv, ASS_Library *library,
ASS_Font *font, int *index, int *uid, uint32_t code);
void ass_fontselect_free(ASS_FontSelector *priv);