I am using
PDF::API2::addFontDirs('home/username/fonts');
my $font = $pdf->ttfont('myfont.ttf');
$text->font($font, 14);
$text->translate(300, 480);
$text->text('HELLO WORLD!');
I used different fonts as 'myfont'. But all times, the text displayed is very much expanded horizontally. Lot of space between the characters.
Is there any options to be given to solve this problem?
| [reply] |