We are currently utilizing openpdf 1.3.26 template 2.1 to create PDFs from HTML and CSS. Within our coding, there is a div element styled as follows:
.text-block{
display:block;
text-align:justify;
word-wrap: break-word;
hyphens: auto;
width:50px
}
<span lang="de" class="text-block" >myyyextraaaaaaaaalong text </span>
Interestingly, the hyphens appear when testing in my browser, but do not show up in the generated PDF file.