diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2011-08-18 06:19:33 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | 3b72ae063fe2f4d7adb7c59587155e0a45c692d0 (patch) | |
tree | 152ef37547601f32509ff552c7d15ee80388f506 /libass/ass_render_api.c | |
parent | cce454eac1f3bee89cb7cdb8d35032917f430142 (diff) | |
download | libass-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_render_api.c')
-rw-r--r-- | libass/ass_render_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render_api.c b/libass/ass_render_api.c index cfa8998d..5310060e 100644 --- a/libass/ass_render_api.c +++ b/libass/ass_render_api.c @@ -147,7 +147,7 @@ void ass_set_fonts(ASS_Renderer *priv, const char *default_font, if (priv->fontselect) ass_fontselect_free(priv->fontselect); priv->fontselect = ass_fontselect_init(priv->library, priv->ftlibrary, - default_family, default_font); + default_family, default_font, config, fc); } void ass_set_selective_style_override_enabled(ASS_Renderer *priv, int bits) @@ -168,7 +168,7 @@ void ass_set_selective_style_override(ASS_Renderer *priv, ASS_Style *style) int ass_fonts_update(ASS_Renderer *render_priv) { - //return fontconfig_update(render_priv->fontselect); + // This is just a stub now! return 1; } |