tazjin/nixery

`imagemagick` commands dont work because of misconfigured `fontconfig`

xeijin opened this issue · 1 comments

Hello,

I'm trying to convert a few images with a nixery image containing imagemagick.

Using the image:

nixery.dev/shell/coreutils/gnutar/gnumake/tree/fontconfig/libcap/go/gcc/imagemagick/pngquant/librsvg

When my script attempts to convert images using the imagemagick convert utility, I get the following errors:

converting... emacutor-color.svg
 -> PNG: 16x16
Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories

upon further inspection there doesnt appear to be anything in /etc/fonts, specifically the fonts.conf file that fontconfig is meant to generate.

@xeijin I'm trying to reproduce this bug; but the SVG files that I have here seem to convert fine. Could you confirm that the bug still occurs for you, and provide an SVG file that exhibits the issue? Thank you!