]> git.sesse.net Git - vlc/blob - contrib/src/ass/ass-macosx.patch
Contribs: update gettext to 0.18.2.1
[vlc] / contrib / src / ass / ass-macosx.patch
1 --- libass/libass/ass_fontconfig.c      2011-09-01 23:26:35.000000000 +0200
2 +++ libass-fixed/libass/ass_fontconfig.c        2012-09-01 14:34:17.000000000 +0200
3 @@ -442,6 +442,11 @@
4                  "file found, using fallback.");
5          FcConfigDestroy(priv->config);
6          priv->config = FcInitLoadConfig();
7 +#ifdef __APPLE__
8 +        FcConfigAppFontAddDir(priv->config, "~/Library/Fonts");
9 +        FcConfigAppFontAddDir(priv->config, "/Library/Fonts");
10 +        FcConfigAppFontAddDir(priv->config, "/Network/Library/Fonts");
11 +#endif
12          rc++;
13      }
14      if (rc && update) {