I ran into the problem of rendering very large pdf files from html with phantomjs 2.1.1
The mentioned solution was to install fonts locally on ubuntu & then have phantomjs use these.
Does anybody have experience doing this?
1 Answers
Answers 1
You should install the libfreetype6
, libfreetype6-dev
, libfontconfig1
and libfontconfig1-dev
packages:
sudo apt-get install libfreetype6 libfreetype6-dev -y sudo apt-get install libfontconfig1 libfontconfig1-dev -y
You may also need to set the following value in your bash profile:
LC_ALL=en_US.UTF-8
0 comments:
Post a Comment