centos - How to get PhantomJS to render installed fonts? -



centos - How to get PhantomJS to render installed fonts? -

i'm using phantom js render pdfs html source. text contain many different scripts. have issue hebrew.

generally when see black squares instead of glyphs font bundle using yum list | grep fonts , install find, example:

yum install fonts-hebrew fonts-arabic

this has worked scripts not others. after installing fonts-arabic can see glyphs in pdf, hebrew blank. not black squares missing fonts, blank.

the html doesn't reference of particular fonts installed these packages, uses css render arial , fall sans-serif. glyphs render fine in local browser, how can phantomjs renderer pick hebrew fonts?

additional info: on centos 5.5, running phantomjs 1.9

steps followed solve this 1.checked if standard arabic back upwards available: yum grouplist 2.then if available install standard arabic support: yum groupinstall 'arabic support'.

this solved issue.

fonts centos phantomjs

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -