161
Views
3
Comments
[Html2PdfConverter] font-size from css not rendering on HTMLtoPDF
Question
html2pdfconverter
Web icon
Forge asset 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

2018-10-09 16-01-17
Diogo Coelho

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

UserImage.jpg
Diana Mae Benitez

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


2020-02-13 05-29-21
Anagha Chikate

Hello,
Is this resolved?
I am facing same issue. The font family is not rendered on downloaded pdf.
Please help.
Thanks,
Anagha

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.