PDF created with random text format

Dear Team,

we've developed different actions that create different PDFs dynamically, each of these with specific font styles (font size, font family, bold/italic). This project has been deployed on different working Azure Websites istances; one of these though will create all of these documents with random styles: every text inside these documents (that have different font styles) will appear all bold, bold and italic or with no formatting, font size is the only property that doesn't change randomly. The same document genereated multiple times will generate different font outputs, attached you will find an example.
Could there be anything that will activate this strange behavior?
As I said before, this happens only on a specific Azure instance, this doesn't happen on other istances.


Regards

Attachment: pdf_examples_e2fc80e9.zip

2 Replies

AP Anand Panchamoorthi Syncfusion Team June 18, 2021 02:25 PM UTC

Hi Danilo Longoni, 
  
Thanks for the details provided. 

Currently we are working on this. We will update the further details on 22nd June 2021. 

With Regards, 
Anand Panchamoorthi 



GK Gowthamraj Kumar Syncfusion Team June 22, 2021 03:34 PM UTC

Hi Danilo, 
 
Thank you for your patience. 
 
We have checked the PDF creation with drawing text with different styles in Azure app service, but it working properly. We suspect that the problem due to that particular font does not supported in Azure environment. Custom fonts are not rendered (system-installed font is used instead) because of sandbox GDI API limitations that present even in VM-based Azure Apps plans. So, that the library will automatically renders with default font. Please ensure whether the used custom fonts are supported in that Azure environment or not?  
 
 
Kindly share us the complete code snippet or sample, Azure app service deployment details such as Hosting plan, Location, publish profile details or steps to reproduce the issue in our end. If will be helpful for us to analyse and assist you further on this. So, that it will be helpful for us to analyze and assist you further on this. 
  
Regards, 
Gowthamraj K 


Loader.
Up arrow icon