[vlc-devel] [PATCH] contrib: libass added fontconfig font search paths for OS X.

Naohiro KORIYAMA nkoriyama at gmail.com
Wed Aug 29 18:03:06 CEST 2012


Hello,

2012/8/30 Rémi Denis-Courmont <remi at remlab.net>:
>    Hello,
>
> On Wednesday 29 August 2012, Naohiro KORIYAMA wrote:
>> ++        FcConfigAppFontAddDir(priv->config, "~/Library/Fonts");
>
> Does that actually work? I'd expect tilde to be expanded (only) by shell, not
> by fontconfig...

In FcStrCopyFilename(), tilde is expanded (use getenv("HOME")). So, it works.
-- 
KORIYAMA, Naohiro
nkoriyama at gmail.com



More information about the vlc-devel mailing list