Word wrap is not working on new PDF Document using HTMLFragment

I am generating the PDF document using HTMLFragment. Word-wrap is not properly working. I see the similar issue topic in your forums. But I don’t see the solution. Here is the reference. Word wrap issue on new Document


String finalString = "<div style=\"width: 150px;word-wrap: break-word;border: 1px solid #000000;\"> This div contains a very long word: thisisaveryv eryveryveryveryverylongword. The long word will break and wrap to the next line.</div>";

                    Document pdfDocument = new Document();
			Page page = pdfDocument.getPages().add();
			MarginInfo marginInfo = new MarginInfo();
HtmlFragment htmlFragment = new HtmlFragment(finalString);
		pdfDocument.save("filepath", SaveFormat.Pdf);


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-43090

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Is the fix ready now ? Can you tell us how long it will take


We are afraid that the ticket has not been yet resolved. It will be investigated and fixed on the basis of first come first serve. We will surely inform you once we make some progress towards its resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.