From: Oleg Oshmyan Date: Thu, 23 Jan 2014 20:21:58 +0000 (+0000) Subject: fontconfig: don't compact the sorted font list X-Git-Tag: 0.11.0~37^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d78d898ae1edde3adccd409fc276174de59f101;p=libass fontconfig: don't compact the sorted font list Some broken fonts are dropped by Fontconfig during compacting. --- diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c index b8ad9ec..dcb0bcf 100644 --- a/libass/ass_fontconfig.c +++ b/libass/ass_fontconfig.c @@ -188,7 +188,7 @@ static char *select_font(ASS_Library *library, FCInstance *priv, */ FcPatternDel(pat, "lang"); - fsorted = FcFontSort(priv->config, pat, FcTrue, NULL, &result); + fsorted = FcFontSort(priv->config, pat, FcFalse, NULL, &result); ffullname = match_fullname(library, priv, family, bold, italic); if (!fsorted || !ffullname) goto error;