Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- use PDF::Reuse;
- use Font::TTF;
- use Text::PDF::TTFont0;
- use utf8;
- use strict;
- my $lohitbn = '/usr/share/fonts/truetype/lohit-bengali/Lohit-Bengali.ttf';
- my $text = 'ক্ষ বলো হরি ';
- prInitVars();
- prFile('test.pdf');
- prTTFont($lohitbn);
- prFontSize(13);
- prText(60, 700, $text);
- prEnd();
Add Comment
Please, Sign In to add comment