From: wm4 Date: Fri, 28 Aug 2015 14:29:06 +0000 (+0200) Subject: fontselect: fix fallbacks X-Git-Tag: 0.13.0~28^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7930755de2136b9e10dcce4bf8d45aa40a0b4810;p=libass fontselect: fix fallbacks I broke it. --- 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;