in reply to PDF::FromHTML and UTF8
It seems you might need a utf8 true type font (ttf) or PDF::API2my $pdf = PDF::FromHTML->new( encoding => 'utf-8' ); $pdf->load_file('source.html'); $pdf->convert( # With PDF::API2, font names such as 'traditional' also works Font => 'font.ttf', LineHeight => 10, Landscape => 1, ); $pdf->write_file('target.pdf');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF::FromHTML and UTF8
by Anonymous Monk on Dec 08, 2006 at 14:58 UTC | |
by Joost (Canon) on Dec 09, 2006 at 00:05 UTC |