[Fontconfig] Difficulty finding a font file through the libraries
Lawrence D'Oliveiro
ldo at geek-central.gen.nz
Fri Oct 29 01:07:18 UTC 2021
On Thu, 28 Oct 2021 19:43:45 -0500, Michael Brennen wrote:
> The production script runs as apache; there is no local fontconfig
> directory. I ran the process with sudo -u apache, and it has the same
> result: the font is found in the .ttf.orig file.
sudo also has the -i/--login option to make sure you run the command
more like a real login session as that user; may be worth adding that,
just in case.
> Loading MoongladeDEMO-Regular font from
> /var/www/ext/resources/fonts/2- Moonglade Regular DEMO.ttf.orig...
By the way, there must be an entry in the Fontconfig setup somewhere
that says to look in /var/www/ext/resources/fonts for fonts ... or is
this in the aforementioned Fontmap file?
More information about the Fontconfig
mailing list