Why are some words being compressed and spaces between words are being removed when converting html to pdf via dompdf in php

Viewed 102

Why are some words being compressed and spaces between words are being removed when converting html to pdf via dompdf in php?

If you can see in the attached image, the spaces between "it by", " stand for", "financial standing" and "less (optimum)" are all removed.

enter image description here

1 Answers

I was able to resolve this issue by putting the paragraph contents inside a wordwrap function in php. Example: wordwrap('content string',100)

Related