summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2011-08-07 02:21:09 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-07-10 10:41:01 +0200
commitc22a4ff9a395546637dbe0f1e9d0ee549dd0069a (patch)
tree40540f98c0faed9e3bac99ecc5caa0ef16b3aa92 /libass/ass_render.h
parentd787615845d78d8f8e6d1a4ffc3dc3eecd8a92f6 (diff)
downloadlibass-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_render.h')
-rw-r--r--libass/ass_render.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index ceebea1..b664c79 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -38,7 +38,7 @@ typedef struct ass_shaper ASS_Shaper;
#include "ass_bitmap.h"
#include "ass_cache.h"
#include "ass_utils.h"
-#include "ass_fontconfig.h"
+#include "ass_fontselect.h"
#include "ass_library.h"
#include "ass_drawing.h"
#include "ass_bitmap.h"
@@ -294,7 +294,7 @@ typedef struct {
struct ass_renderer {
ASS_Library *library;
FT_Library ftlibrary;
- FCInstance *fontconfig_priv;
+ ASS_FontSelector *fontselect;
ASS_Settings settings;
int render_id;
ASS_Shaper *shaper;