Welcome Guest, Not a member yet? Register   Sign In
PDF creating problem
#1

[eluser]Tomas Sundvall[/eluser]
Hello!

I use codeigniter and dompdf to create pdf files on the fly. It works really good, but I just have a little strange problem.

The pdf file is created properly and it was easy to style it, but when I output a longer text a problem occurs. I use auto_typography() to create <br /> from line breaks wich works good to split up the text, but where the lines are supposed to break automaticly, it breaks in the middle of the words. For example it can look like this:

A random text random text ran
dom text random text random t
ext

The problem occurs even if I don't use auto_typography, but it dosen't occur if I print the html instead of creating a pdf file of it.

I just can't figure out what might be the problem, does anyone of you?

/Tomas




Theme © iAndrew 2016 - Forum software by © MyBB