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