Aspose .net pdf working fine in local machine, bujt when deployed to server iam getting 500 Internal Server Error. please treat this as urgent
I request you to share a sample application, server and error details. We will be able to investigate that on our end on provision of requested information.
Thanks fayyaz, this is resolved now.
Currently we are facing issue to embed custom font in pdf, below is sample code
strShortForm is large HTML data
Aspose.Pdf.Text.Font myFont = Aspose.Pdf.Text.FontRepository.OpenFont(“G:\MailMerge\Customfont.ttf”);
myFont.IsEmbedded = true;
options.IsEmbedFonts = true;
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(new System.IO.MemoryStream(Encoding.UTF8.GetBytes(strShortForm)),options);
But this is not working , any help highly appreciated
It’s good to hear that things are fine on your end. For your current issue, do you face some exception? Please share sample HTML and complete runnable code as the “options” object is not defined in shared code.