From 1d78d898ae1edde3adccd409fc276174de59f101 Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Thu, 23 Jan 2014 20:21:58 +0000 Subject: fontconfig: don't compact the sorted font list Some broken fonts are dropped by Fontconfig during compacting. --- libass/ass_fontconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3