Add some shapes eg. Textbox, Rounded Rectangle, Circle, Cylinder
Add some text in each one of them
Select a peace of text and make it bold
Select other pieces of text and select one style for each of them: italic, underline, strikethrough, different font, different text size, different text color, subscript, superscript
Click Save & View
Access More actions > Export > Export as PDF
Deselect all options > Export
Expected results: The PDF looks like the diagram.
Actual results: Some styles aren't shown at all, some brake the paragraphs.
Steps to reproduce:
Expected results: The PDF looks like the diagram.
Actual results: Some styles aren't shown at all, some brake the paragraphs.![Comparison](https://user-images.githubusercontent.com/40691112/143426700-90369fa8-dddf-4558-b6b9-a439c1076678.jpg)
xwiki_Diagram_Diagram+4_WebHome.pdf
NOTE: While exporting the diagram through the Diagram menu (File > Export as > PDF... > Export) the PDF looks like the diagram created. export (1).pdf
Environment: Windows 10, XWiki 13.4.5, Chrome 96, Diagram Application (Pro) 1.17.1