We are using openpdf 1.3.26 template 2.1 to generate PDF from HTML and CSS. I have a div with the following style
.text-block{
display:block;
text-align:justify;
word-wrap: break-word;
hyphens: auto;
width:50px
}
<span lang="de" class="text-block" >myyyextraaaaaaaaalong text </span>
The hyphens are being added when I try this on my browser, but not the generated PDF.
To me it looks like your PDF processor is limited CSS 2.1. and hyphens
is CSS3 property.