CodeIgniter Forums
Dompdf cuts lines in the middle of a word - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Dompdf cuts lines in the middle of a word (/showthread.php?tid=26541)



Dompdf cuts lines in the middle of a word - El Forum - 01-16-2010

[eluser]Nick De Decker[/eluser]
Hi guys,

I got one last migration issue porting my app from my PHP 5.2 development environment to my client's PHP 5.3 environment.

When I create a PDF with DOMPDF it cuts the line in the middle of a word at the end of the line. Both in tables and normal paragraphs.

However after a bit of testing I found out it only occurs when non-standard characters are present.
But that includes é and à as well, making my french layout look really bad.
If I replace them by e and a everything is ok again.

I tried both dompdf 6 alpha and the stable one, also rendering with pdflib didn't help.
It must be something with dompdf in combination with the php 5.3 server.

Any ideas ? I really need to get this one working.

Thanks in advance.
Nick