use PDF::API2; $pdf = PDF::API2->new; $font = $pdf->ttfont('/fonts/Univers-Bold.ttf'); # or psfont for PS $string = $font->text("Some string"); # Now place and write the $string $pdf->update; $pdf->saveas("foo.pdf");