I am using CKEditor to create some documents which I convert in PDF afterwards. For that I am using the pd4ml.jar library.
I have a problem with the font styles. If I want to applicate "Bold" to a textblock and set the font-size afterwards CKEditor generates following code:
<p><span style="font-size:8px"><strong>Random Text</strong></span></p>
Unfortunately, when I convert the html-code to pdf, the font-size does not get rendered as I set it. (default font-size will get rendered).
However, if I set the font-size first and apply "Bold" afterwards, CKEditor generates following code, which also works after the pdf-conversion.
<p><strong><span style="font-size:8px">Random Text</span></strong></p>
So my question is, is there any possibility to tell CKEditor how to generate the html-code, in my case, like in the second code-sample?
Or is there any way to tell pd4ml how to read the html-code?