Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Jun 02, 2021 7:25 am

Hi Team,

We are facing issues with font family when we tried to convert html to pdf and pdf formfields.

Case: 1 Form Fields
When we are trying to generate pdf by filling form fields from VM we are getting desired output with selected fonts. whereas, when use the same code and deploy it in kubernetes, font styles are not working please refer to attachments for reference.

Case: 2 Html to PDF conversion
Same as case 1 getting desired results in VM. whereas, in kubernetes, font styles are not working please refer to case 2 attachments for reference.

Can you please provide us the solution where it went wrong.

Thanks,
OnBlick Dev Team

srikanthonblick
 
Posts: 7
Joined: Wed Jul 18, 2018 11:10 am

Wed Jun 02, 2021 12:37 pm

Hello,

Thanks for your inquiry.
Kindly note that when using our Spire.PDF to operate pdf files and convert html to pdf on kubernetes, you need to install all fonts used in the PDF file and html. Please make sure you have installed the corresponding fonts in your kubernetes.
If the issue still occurs after installing all the fonts used, please provide your input file, your complete code to help us investigate further. You could send them to us (support@e-iceblue.com) via email. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Jun 10, 2021 10:09 am

Hello,

Has your issue been resolved? Any feedback will be greatly appreciated.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF