Using phantomjs v1.9.7, the latest version, there's a problem rendering some characters on my production server. No problems on dev server.
In rendering the phantomjs.org homepage, the fonts with "strong" tag or some kind of bold font like "700em" render correctly, but normal font-weight aren't.
I haven't noticed this problem with any other urls yet.
Also all Chinese characters from any url (that I've checked so far) render with boxes on the production server, but correctly on the dev server.
I have no idea what the problem is.
Here's a screenshot of a section of http://phantomjs.org for each server:
production server - debian 7 stable

dev server - debian 8 testing

Here's the screenshots of http://taoboa.com
production - debian 7 stable

dev server - debian 8 testing

Any thoughts? Thanks for the help.
What I ended up doing is updating my server from Debian 7 to Ubuntu 13.10, and that solved the problem. I really don't know what packages were causing the problem -- possibly fontconfig or libfreetype6...I don't know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With