diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2014-01-23 20:21:58 +0000 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2014-01-24 01:19:53 +0000 |
commit | 1d78d898ae1edde3adccd409fc276174de59f101 (patch) | |
tree | 4fecef6cd413752af9c93e14ad7fb77e98c71458 | |
parent | dbfe2cd3176268b66a372d171ee5af09a2825afa (diff) | |
download | libass-1d78d898ae1edde3adccd409fc276174de59f101.tar.bz2 libass-1d78d898ae1edde3adccd409fc276174de59f101.tar.xz |
fontconfig: don't compact the sorted font list
Some broken fonts are dropped by Fontconfig during compacting.
-rw-r--r-- | libass/ass_fontconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |