Convert HTML TO PDF and css

Hi,

it would seem that not all css rules are applied during conversion.

Especially justify-content and font-style.


 


Attachment: images_a1f8c7ca.zip

1 Reply

GK Gowthamraj Kumar Syncfusion Team August 4, 2021 01:08 PM UTC

Hi Pio Luca Valvona, 
 
Thank you for contacting Syncfusion support.  
 
Currently WebKit HTML to PDF converter do not have complete support for font face rule. So, we suspect the reported issue occurs due to this. We already logged a feature request for “Need to add support for font-face CSS rule in WebKit source”.    
 
We have added it to our feature request list and we will implement this feature in any of our upcoming release. But we do not have any immediate plans to implement this feature. The feature request can be tracked through our Features Management System:    
   
To overcome this issue, kindly try our latest Blink rendering engine which preserves output PDF document like how the input HTML file displayed in chrome web browser. This rendering engine support more styles and HTML features when comparing to WebKit rendering engine. Please refer below links for more information,  
 
Please let us know if you need any further assistance on this.   
 
Regards, 
Gowthamraj K 


Loader.
Up arrow icon