From 7930755de2136b9e10dcce4bf8d45aa40a0b4810 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Aug 2015 16:29:06 +0200 Subject: fontselect: fix fallbacks I broke it. --- libass/ass_fontselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libass') diff --git a/libass/ass_fontselect.c b/libass/ass_fontselect.c index cafe05e..0514d84 100644 --- a/libass/ass_fontselect.c +++ b/libass/ass_fontselect.c @@ -522,7 +522,7 @@ static char *select_font(ASS_FontSelector *priv, ASS_Library *library, // We want to be able to match even if the closest variant // does not have the requested glyph, but another member // of the family has the glyph. - if (!check_glyph(&priv->font_infos[i], code)) + if (!check_glyph(font, code)) continue; score_min = score; -- cgit v1.2.3