in reply to PDF::FromHTML istallation problem or script?

Hi. I've been looking at your script. You might want to test it again at  $pdf -> convert; Convert what? I would add something here for it to chew on like font, width, height, landscape, path to font, etc. Maybe that will kick it into gear.

Replies are listed 'Best First'.
Re^2: PDF::FromHTML istallation problem or script?
by Anonymous Monk on Dec 05, 2006 at 16:20 UTC
    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.
      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