summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgreg <greg@blackbox>2009-06-19 06:04:45 +0200
committergreg <greg@blackbox>2009-06-20 03:38:00 +0200
commit21ab30f2ffbc71af46c0e64824e0596f14ddb424 (patch)
treeaf165e3c5931b65e4f3a0f29f153c46bd98104d3 /test
parent4600a9a40e82d9583e6b99a6633cadd379b8aa93 (diff)
downloadlibass-21ab30f2ffbc71af46c0e64824e0596f14ddb424.tar.bz2
libass-21ab30f2ffbc71af46c0e64824e0596f14ddb424.tar.xz
ass_set_fonts: optionally pass fontconfig config path
Optionally pass a fontconfig config file to the fontconfig initialisation. This changes the public API.
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp
index 20ea0fa..ea70acc 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -79,7 +79,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);
+ ass_set_fonts(ass_renderer, NULL, "Sans", 1, NULL);
}
static image_t* gen_image(int width, int height) {