We use PhantomJS to create screenshots from a webpage. This page displays a text which can be in any language: Latin, Russian, Chinese, Arabic etc. On my local Ubuntu desktop this all works, on the production server it displays blocks for Chinese characters. The server is AWS Linux, which is Centos-like.
The font used is Dejavu Sans:
* { font-family: "DejaVu Sans"; }
DejaVu is installed on the server:
ls -1 /usr/share/fonts/dejavu/
DejaVuSans-BoldOblique.ttf
DejaVuSans-Bold.ttf
DejaVuSansCondensed-BoldOblique.ttf
DejaVuSansCondensed-Bold.ttf
DejaVuSansCondensed-Oblique.ttf
DejaVuSansCondensed.ttf
DejaVuSans-ExtraLight.ttf
DejaVuSans-Oblique.ttf
DejaVuSans.ttf
DejaVuSerif-BoldItalic.ttf
DejaVuSerif-Bold.ttf
DejaVuSerifCondensed-BoldItalic.ttf
DejaVuSerifCondensed-Bold.ttf
DejaVuSerifCondensed-Italic.ttf
DejaVuSerifCondensed.ttf
DejaVuSerif-Italic.ttf
DejaVuSerif.ttf
Is this a font problem?
How can I get PhantomJS to display all characters?