PDF::API2::Simple documents the ttfont method as having only one parameter. I suggest trying:
s{$pdf->pdf->ttfont($pdf,'FreeMono.ttf');} {$pdf->pdf->ttfont('FreeMono.ttf');}
In reply to Re: External font with PDF::API2::Simple
by keszler
in thread External font with PDF::API2::Simple
by Iceman1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |