diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-17 02:56:05 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-17 02:56:05 +0200 |
commit | b4e604380d8ec8fa5b991a1b028240fc4436eec7 (patch) | |
tree | c3cfb14da2975a34c7f90884bb6086078aae2119 /test/test.c | |
parent | 0f2cf3f12a3eed740d7717fb35c11ba5d8fe4c22 (diff) | |
download | libass-b4e604380d8ec8fa5b991a1b028240fc4436eec7.tar.bz2 libass-b4e604380d8ec8fa5b991a1b028240fc4436eec7.tar.xz |
Improve fontconfig setup
Add an argument to ass_set_fonts for controlling whether the fontconfig
font cache should be built/updated. Add a new function ass_fonts_update
to make it possible to update fonts later on.
Additionally, stop using FcConfigSetDefault for thread safety.
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 8c7b602..6809986 100644 --- a/test/test.c +++ b/test/test.c @@ -93,7 +93,7 @@ static void init(int frame_w, int frame_h) ass_set_margins(ass_renderer, 0, 0, 0, 0); ass_set_use_margins(ass_renderer, 0); ass_set_font_scale(ass_renderer, 1.); - ass_set_fonts(ass_renderer, NULL, "Sans", 1, NULL); + ass_set_fonts(ass_renderer, NULL, "Sans", 1, NULL, 1); } static image_t *gen_image(int width, int height) |