diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2011-08-07 02:21:09 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:41:01 +0200 |
commit | c22a4ff9a395546637dbe0f1e9d0ee549dd0069a (patch) | |
tree | 40540f98c0faed9e3bac99ecc5caa0ef16b3aa92 /libass/ass_parse.c | |
parent | d787615845d78d8f8e6d1a4ffc3dc3eecd8a92f6 (diff) | |
download | libass-c22a4ff9a395546637dbe0f1e9d0ee549dd0069a.tar.bz2 libass-c22a4ff9a395546637dbe0f1e9d0ee549dd0069a.tar.xz |
Custom font matching and font sources
Implement a simple font sorter (FontSelector) and an interface to deal
with multiple font sources (FontProvider). Unfinished business,
but works for the most part. Currently the only implemented FontProvider
uses fontconfig.
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r-- | libass/ass_parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c index b99ed48..3d94615 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -102,7 +102,6 @@ void update_font(ASS_Renderer *render_priv) { unsigned val; ASS_FontDesc desc; - desc.treat_family_as_pattern = render_priv->state.treat_family_as_pattern; if (render_priv->state.family[0] == '@') { desc.vertical = 1; @@ -129,7 +128,7 @@ void update_font(ASS_Renderer *render_priv) render_priv->state.font = ass_font_new(render_priv->cache.font_cache, render_priv->library, - render_priv->ftlibrary, render_priv->fontconfig_priv, + render_priv->ftlibrary, render_priv->fontselect, &desc); free(desc.family); |