I am trying to use the HtmlFragment class to set the font style for my PDF document. However, I am having trouble getting the line-height CSS property to work as expected. I’ve noticed that if I adjust the line-height, it will only adjust spacing right after a bolded line for some reason. What is the correct syntax for using the line height value in a way the CSS parser will understand? The reason I started playing with the line height is because I noticed blank lines in my PDF document were getting squashed to a much shorter height than non-blank lines.
Sure, I have attached the test HTML here. Opening this HTML in IE shows the correct line spacing for blank lines, but when Aspose renders the PDF the blank lines almost completely disappear.
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-38532. We
will investigate this issue in details and will keep you updated on the status
of a correction. <o:p></o:p>
We apologize for your inconvenience.