Hi,
$pdf->convert needs no parameters. When no one ist given, it use standards.
But has anyone use thid Module with unicode-characters? My HTML contains german chars like 'ö' and it would contain russian text soon. It doesn't matter if I write it in utf-8 or as ö, all non-ACSCII-chars are deleted.
I tried to set an unicode-font, but it uses PDF::API2::Resource::Font::CoreFont::* fonts, which are allways without any unicode definition.
Any idea?
Tobi
PS: htmldoc is very poor. Only HTML 3.2, no CSS, bugs when your source contain <form>-Tags, ony ISO-8859-1 (died with no message). That's the reason, why I want to use PDF::FromHTML. | [reply] |
Ive also been looking at this script and have a weird problem. I too want only html converted to pdf and I input the file names and when I run the script I get the error
not well-formed (invalid token) at line 2, column 0, byte 39 at /usr/lib/perl5/site_perl/5.8.7/i686-linux/XML/Parser.pm line 187
Now WHY is it trying to use the XML parser? The script is identical to the one posted in this thread. It sais nothing about parsing XML. Im at a stand still. I have no idea what file to edit in order to possibly comment out the instructions to parse the xml version of the html file I want to make into a pdf.
Any help on this would be greatly appreciated...
Regards and thanks in advance
Dan
| [reply] |