diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-07 02:12:43 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-07 02:18:29 +0200 |
commit | e020bee2631950815ec7707d5a6f8a348de3a2d7 (patch) | |
tree | 2788cf21b02851589cbc418da4f8df6321d7d191 | |
parent | d0f2a97bfbfb1c87bbc66264df1ed194b12a6975 (diff) | |
download | libass-e020bee2631950815ec7707d5a6f8a348de3a2d7.tar.bz2 libass-e020bee2631950815ec7707d5a6f8a348de3a2d7.tar.xz |
test: use proper fallback name
The correct generic family name is "sans-serif", the short form "Sans"
is specific to fontconfig only.
-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 175e8be..4884b28 100644 --- a/test/test.c +++ b/test/test.c @@ -107,7 +107,7 @@ static void init(int frame_w, int frame_h) } ass_set_frame_size(ass_renderer, frame_w, frame_h); - ass_set_fonts(ass_renderer, NULL, "Sans", + ass_set_fonts(ass_renderer, NULL, "sans-serif", ASS_FONTPROVIDER_AUTODETECT, NULL, 1); } |