phantom-pdf renders only black boxes
-
I did a fresh install of node.js, npm and jsreport on a host running Arch Linux.
Now when i render the examples with phantom-pdf every text character is rendered as a black box.
The text looks like ◼◼◼ ◼ ◼◼◼◼◼ ◼◼◼ ◼◼.I have installed imagemagick like suggested from an older github thread and i've installed phantom-js 2 but no luck with that either.
Does anyone have a solution for this problem?
-
Did you install libfontconfig, fontconfig?
Try to search phantomjs issues, there are many valuable info usually.
https://github.com/ariya/phantomjs
-
fontconfig 2.12.3-1 and libfontconfig.so.1.9.3 are installed.
I will look through the issues now.
-
I didn't find a solution in the issues so i installed the docker image.
The text rendering is working now.
-
Hi, I have the same problem,
But my application is hosted on a centos serverAny idea what could be the issue here?
Thank you.
-
@n4nos Great, well done! Docker was the quickest solution in this case.
@danieloquendo
Check the contos installation hints here https://github.com/jsreport/docs/blob/master/installation/centos.md
If it won't help, try direct search phantomjs issues