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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -