file: pd4ml_1.pdfOpen PDFCommand line:
java -Xmx512m -Djava.awt.headless=true -cp ../pd4ml_demo.jar Pd4Cmd "https://arabdemog.com/jj/test/pd4ml_php_wrapper2/probe/xdemocjk.php" 800 A4 -debug -ttf ../fonts/ -out pd4ml_1.pdf 2>&1Debug output:
sh: 1: java: not found
Note: the script uses a font from /var/www/vhosts/arabdemog.com/httpdocs/jj/test/pd4ml_php_wrapper2/fonts
To add more fonts, copy them to the fonts/ directory and delete
pd4fonts.properties (font name-file mappign) to let PD4ML generate a new one.
More info about TTF embedding