I'm stuck with trying to get hyphenation to work in dompdf. My idea was to use hyphenator.js on the html that I feed to dompdf.
So far I've tried the following:
- Include the hyphenator.js file in a
<script src
in the header - Include the hyphenator.js file in a
<script src
in the body - Include the hyphenator source code directly in the body
When I render the page in my browser, hyphenator.js works perfectly in all of the three cases. Yet it doesn't work in dompdf at all. Am I missing something?
This is really crucial, because I will also need to use JavaScript for dynamic absolute placement of content.
And if JavaScript doesn't work at all, are there any other hyphenation options?
Thank you very much in advance!