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

Raimund Steger rs at mytum.de
Sun Aug 26 14:50:06 PDT 2012


Helmut Tessarek wrote:
> [...]
>
> Would --sysconfdir=. do this? Is this valid?

No, this must resolve to an absolute path at compile time.

But you can set FONTCONFIG_PATH to a non-default configuration root at 
runtime, i. e. FONTCONFIG_PATH=/path/to/binary/cfg.

Raimund



-- 
Worringer Str 31, Duesseldorf 40211 Germany   home: <rs at mytum.de>
+49-179-2981632 icq 16845346                  work: <rs at interface-ag.de>


More information about the Fontconfig mailing list