php - GhostScript - text misplaced after converting from pdf to jpg -
i using php exec()
, ghostscript convert pdf files jpg, however, there seems issue text - letters gets misplaced. here example screenshots how turns out:
this how on pdf - http://screencast.com/t/vmf2kjdlts , how turns out on jpg - http://screencast.com/t/btfnmkrc
here's command i'm using: exec("/usr/bin/gs -dnopause -sdevice=jpeg -soutputfile=test.jpg -djpegq=100 -r814x1149 -q test.pdf", $out, $rcode);
the pdf generated dompdf , custom installed font if helps.
any suggestions doing wrong?
after converting gs9.07win text looks fine (text rendered default font, arial). problem opensans , opensans-bold fonts substitution or incomplete glif maps.
Comments
Post a Comment