Open chrismeyersfsu opened 10 years ago
Getting the same error
Rasterizing SVG to PNG (75 files)...
0% [ ] 0.00% (0.0s)
>> Rasterization complete.
no error message etc tried running sudo apt-get install libfontconfig1
still getting the empty rasterisation
same here
No
.png
files are actually generated. The progress bar remains at 0%. I then ranstrace -f -F -s 256 -o strace.log grunt svg2png --verbos
https://clbin.com/Yp15a The interesting entry is listed below.After seeing this I ran
sudo apt-get install libfontconfig1
. I then ran the grunt command above again and success!Environment
Edit: Upon further inspection, it seems this may be a program with phantomjs (or the node wrapper). https://github.com/Medium/phantomjs/search?q=libfontconfig&type=Issues&utf8=%E2%9C%93 Could grunt-svg2png be made to fail (exit non-zero) if phantom fails? This would at least notify the user that there is a problem.