1

I'm doing some basic test cases:

<?

require_once("html2pdf_v4.03/html2pdf.class.php");

$content =
"<page>
<h1>Exemple d'utilisation</h1>
<br>
Ceci est un <b>exemple d'utilisation</b>
de <a href='http://html2pdf.fr/'>HTML2PDF</a>.<br>
</page>";

$html2pdf = new HTML2PDF('P', 'A4', 'fr');
$html2pdf->WriteHTML($content);
$html2pdf->Output("test.pdf");

?>


The problem is that none of the spaces appear in the PDF, so for example it comes out as exempled'utilisation instead of example d'utilisation. Other than that everything's working great, but this is a big problem for any string of text that's more than one word long (which is what I'm going to be using this for).


(also did this with $content = "<b>hello, world!</b><br>foo bar", same result)


Anyone else have this problem or know how to fix it?

2

Sorry, forgot to mention this is v4.03.