[Html2PdfConverter] font-size from css not rendering on HTMLtoPDF

Forge Component
(56)
Published on 2018-10-30 by Guilherme Pereira
56 votes
Published on 2018-10-30 by Guilherme Pereira

Hi,

I created a css that defines font-size and font-family inside the Web screen that is being called by HTMLtoPDF action, but the font-size is not rendering on pdf only the font-family. I also included !important on css but still not working.

I would really appreciate your help.


Thanks!

Diana

Hi Diana, you already open the page in the browser (before convert to PDF)?

You should first confirm if CSS working on the page.


Regards

Diogo Coelho

Diogo Coelho wrote:

Hi Diana, you already open the page in the browser (before convert to PDF)?

You should first confirm if CSS working on the page.


Regards

Diogo Coelho

Hi Diogo,

Yes, I already checked it from the browser and works properly. I also tried manipulating it from inspect and it renders accordingly. But not on downloaded pdf.


Thanks,

Diana