[Fontconfig] Portable apps and fontconfig

Dan Kegel dank at kegel.com
Mon Jun 23 05:47:41 PDT 2014


On Mon, Jun 23, 2014 at 3:45 AM, Akira TAGOH <akira at tagoh.org> wrote:
>> But it's annoying to have to put
>> the absolute path to the fonts in fonts.conf.
>
> You mean the place to load fonts, i.e. <dir> elements?

Yes.

>> Furthermore, I think at the moment the location of the fonts.conf
>> file is hard-coded (right?).  It'd be nice if it could be looked for
>> via a dll-relative path.
>
> Well, yes, it is determined at the build time. but can be replaced by
> FONTCONFIG_FILE env var at the run time.

That's still absolute, one more thing to be fixed up by the installer,
and I'm trying to get to an app that can be relocated to a different
directory without an installer.

Well, I'm not trying very hard :-)  But if I had more time, I'd send in patches
for these two ideas.
- Dan


More information about the Fontconfig mailing list