Hi I am working in a project where the need is to create PDF document with embedded font so that the document is truly portable in nature and anyone can open the document on any machine irrespective of the locale, culture and the font used in the pdf. I am using attached code for doing this (sample taken from SyncFusion site only).
The problem I am facing with this code is when I am trying to embed any Chinese/Japanese font, while creating the PdfTrueTypeFont object, stack overflow exception is coming. The actual error is as below:
"An unhandled exception of type 'System.StackOverflowException' occurred in Syncfusion.Pdf.Base.dll"
I tried all possible options but could not get rid of this error. So need to know whether I am doing anything wrong or this is a bug in the Syncfusion.
An early response to this will be highly appreciated.
Sample_a9389f4b.zip