HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › font-size=x-large › Re: Re: font-size=x-large
October 1, 2009 at 15:27
#27548
Yes, it is supported. But from CSS syntax perspective “font-size=x-large” is incorrect. It should use a colon symbol like that:
Test
Also please take into account: the resulting font size in PDF also depends on HTML-to-PDF scale factor. The scale factor is calculated this way:
htmlToPdfScale = ( pageFormat.width – pageInsets.left – pageInsets.right ) / htmlWidth
See:
pd4ml-html-css-pdf-tips-tricks-f7/can-i-pre-define-font-sizes-in-resulting-pdf-documents-t19.html