iText7 Generated PDF Style and Font

michelhanna
Kilo Guru

Hi,

It is also known that the generated PDF do not respect html styling like fonts. And this was mainly due to using iText5.

I am using code in this KB KB0866613 to generate a PDF from a record using the new API sn_pdfgeneratorutils.PDFGenerationAPI().

But now that Paris release supports iText7 via the HR system property sn_hr_core.itext7.pdf_conversion (check here), is there a way to enable iText7 without having the HR module enabled?

In another word, how can we style PDF body with different fonts in Paris?

Thanks!