Re: how to read config file from current dir (relative to a binary using the lib)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 3, 2012 at 12:05 PM, Pavel Koshevoy <pkoshevoy@xxxxxxxxx> wrote:
> I've seen this issue brought up on the ffmpeg-devel mailing list, and here.
> I hope there will be a positive resolution.  If relative-to-exe fontconfig
> search path is not possible perhaps ffmpeg developers will be more amiable
> to adding a fontconfig configuration parameter to the drawtext filter (so it
> can pass correct fonts.conf file path to libass, which will in turn
> initialize fontconfig).

They could use FcConfigAppFontAddFile() and/or FcConfigAppFontAddDir()
to load own fonts.conf and rules. I guess it may be somewhat
acceptable for that project since they statically linked fontconfig?

-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux