Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagemagick commands dont work because of misconfigured fontconfig #134

Open
xeijin opened this issue Aug 28, 2021 · 1 comment
Open

imagemagick commands dont work because of misconfigured fontconfig #134

xeijin opened this issue Aug 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@xeijin
Copy link

xeijin commented Aug 28, 2021

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.

@jpetazzo
Copy link
Contributor

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants