my $doc = PDF::API2->new( -file => 'mypdf.pdf' ); my $page = $doc->page; my $txt = $page->text; my $font = $doc->corefont('OCR A',1); # this font name may be incorrect.. $font->encode('latin1'); $txt->font($font,10); $txt->lead(10); $txt->text('Print to PDF file in the font set above'); # ....