summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgreg <greg@blackbox>2009-06-19 05:33:40 +0200
committergreg <greg@blackbox>2009-06-20 03:38:00 +0200
commit4600a9a40e82d9583e6b99a6633cadd379b8aa93 (patch)
tree665e0f43a182cee9c8ed6f0d1954b42617fedfdd /test
parentc27e45dbb756d89124df72acf07a5856abb15ae1 (diff)
downloadlibass-4600a9a40e82d9583e6b99a6633cadd379b8aa93.tar.bz2
libass-4600a9a40e82d9583e6b99a6633cadd379b8aa93.tar.xz
Remove wrappers for ass_set_fonts
ass_set_fonts_ was wrapped through ass_set_fonts and ass_set_fonts_nofc to either use fontconfig or not. This is not very useful, since a simple parameter to ass_set_fonts_ can be used instead. Remove the wrapper functions and rename the real function to ass_set_fonts. 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 57f39af..20ea0fa 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");
+ ass_set_fonts(ass_renderer, NULL, "Sans", 1);
}
static image_t* gen_image(int width, int height) {