[Fontconfig] how to read config file from current dir (relative to a binary using the lib)
Raimund Steger
rs at mytum.de
Tue Sep 4 11:28:22 PDT 2012
Pavel Koshevoy wrote:
> [...]
> be linking to system fontconfig (which should be dynamic). This is a
> problem because ffmpeg is cross-platform project, and there is no system
> fontconfig on OSX or Windows. So, making a cross-platform
Hmm, if there is no system fontconfig on OSX it would seem only fair to
include something analogous to the existing DllMain in fccfg.c, where
FONTCONFIG_PATH defaults to ../etc/fonts relative to the binary if the
latter is in a directory called "lib" or "bin". After all the API you
mentioned seems to be pretty standard on that platform. Then ffmpeg
wouldn't have an issue, right?
Raimund
--
Worringer Str 31 Duesseldorf 40211 DE home: <rs at mytum.de>
+49-179-2981632 icq 16845346 work: <rs at interface-ag.de>
More information about the Fontconfig
mailing list