[Fontconfig] how to read config file from current dir (relative to a binary using the lib)

Helmut Tessarek ml at evermeet.cx
Tue Aug 28 18:48:09 PDT 2012

On 28.08.12 19:47 , Raimund Steger wrote:
> So I think your patch is OK. I have to say that I didn't link statically, but
> I'd be surprised if that made a difference.

Hmm, interesting. My patch obviously only works on your system. On mine it
does not help, nor does it read the config in ./fontconfig

It seems that it has something to do with linking it statically, otherwise it
would work on my system as well. I'm using MacOSX (not Linux), but this
shouldn't matter.

> I trust you have checked that ffmpeg enabled fontconfig for vf_drawtext with
> "egrep 'FONTCONFIG|FREETYPE' config.mak"?

Yes, I did.


More information about the Fontconfig mailing list