Embedded font issue with PDF

Hi there,


I am not sure if the following is a bug or something I am doing wrong. I am creating a PDF form in a separate application that I am loading in my Xamarin.Forms project using Syncfusion PDF. I would like the document to use a custom font which is embedded as an OpenType font. When the document opens in my app, the form field shows the following error for the font property: "System.ArgumentException: 'Requested value 'D' was not found.'". The name of the font is 'D-DIN' so I wonder if there is a naming issue, or if the font is not embedded. I have opened the document on other devices where the font is not installed however and it displays correctly.


I have created a sample here to demonstrate the issue. On Android an exception is thrown, on iOS it is just not displayed, however using the SetDefaultAppearance method causes an exception to be thrown on iOS too.


I would be grateful if somebody could take a look and let me know if this is a bug or something I have done wrong. In case it is useful the font is available here.


Many thanks


Will


3 Replies

GK Gowthamraj Kumar Syncfusion Team September 1, 2021 02:01 PM UTC

Hi William,  
 
Thank you for contacting Syncfusion support.  
 
We were able to reproduce the reported issue with provided details on our end. Currently, we are validating on this and we will update the further details on September 3rd, 2021.  
 
Regards, 
Gowthamraj K 



GK Gowthamraj Kumar Syncfusion Team September 3, 2021 12:48 PM UTC

Hi William, 

Thank you for your patience.  
   
We confirmed the issue “Runtime exception occurs while updating the text value of loaded textbox form field in the PDF document” as a defect in our product. We will include the fix for this issue in our weekly NuGet release, which will be available on September 14th, 2021.  
   
Please use the below feedback link to track the status of the reported bug.  
   
Note: If you require patch for the reported issue in any of our Essential Studio Main or SP release version, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.  
   
Please let us know if you need any further assistances in this. 
 
Regards, 
Gowthamraj K 



GK Gowthamraj Kumar Syncfusion Team September 14, 2021 12:31 PM UTC

Hi William, 

Thank you for your patience. 

We have included the fix for the reported issue “Runtime exception occurs while updating the text value of loaded textbox form field in the PDF document” in our latest weekly NuGet release (v19.2.0.62). Please use the below link to download our latest weekly NuGet,      


Please let us know if you have any concerns on this. 

Regards, 
Gowthamraj K 


Loader.
Up arrow icon