In this thread the problem is allready mentioned, only in relation to Aspose.Words.
I am using the "Wingdings 2" font to create checked and unchecked checkboxes in the pdf output. On my local computer (developement environment) everything works fine. But when creating the pdf on the remote webserver the checkboxes appear as the characters R and £.
We have installed the WINGDNG2.TTF font on the webserver and I have copied the dll as posted by Hans Zhang in this post 148010.
What could be my problem? Any ideas what I can do to find and isolate the problem?
We're investigating the issue at our end and will let you know about the resolution, the earliest possible. It'll also be helpful if you could share the pdf/doc files you're using.
Attached two documents, one created on my development computer (Local.pdf: checkboxes plotted OK), the other on the webserver (Webserver.pdf: R and £ plotted). Please see page 2 of these documents.
Please let me know if this info as requested and/or if you need some other info.
I did some additional testing with help from my ICT department. We compared the development computer to the current server and to a old(er) server.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Development computer: Windows XP
Current server: Windows Server 2008, IIS7
Old server: Window Server 2003, IIS6
On XP and 2003 the output is OK, on 2008 the font problem occurs.
Is Aspose.Pdf.dll compatible with Windows Server 2008, 64 bit OS?
I added this line of code just before the call to Save the document.
pdf1.TextInfo.IsFontEmbedded = true;
In the document generated on 2008 the Wingdings 2 font seems NOT to be embedded.
We searched for another font which was present on the development computer and not on the 2008 server. We installed this font on the 2008 server and noticed that also this font is discarded.
Conclusion: It is a general problem, it is not Wingdings 2 specific.
Hi Abraham,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for considering Aspose.Pdf.<o:p></o:p>
Which version of Aspose.Pdf for .NET are you using? If
you are using an older version of Aspose.Pdf for .NET then please download and
try the latest version of Aspose.Pdf for .NET v6.7
and check if it works fine in your environment.<o:p></o:p>
Also, as it is an environment specific issue, I have
registered an issue in our issue tracking system with issue id:PDFNEWNET-33328 for our development team to investigate
your issue with Windows Server 2008 x64 environments and share their feedback.
As soon as I get a response from them, I will update you via this forum thread.<o:p></o:p>
Well, Aspose.Pdf.Kit for .NET and Aspose.Pdf for .NET have been merged into a single product i.e. Aspose.Pdf for .NET and Aspose.Pdf.Kit for .NET has been discontinued as a separate product. All the features of Aspose.Pdf.Kit for .NET are available under Aspose.Pdf.Facades namespace of Aspose.Pdf for .NET v6.x. You can check the following documentation links to upgrade your code from Aspose.Pdf.Kit for .NET to the new merged Aspose.Pdf for .NET.
Hi
Abraham,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank
you for your feedback.
We
are pleased to know that you have resolved the issue at your end. Your feedback
will certainly help us in identfying and suggesting solution to other customers
in a similar scenario.
Pleaes
feel free to contact support regarding any query / issue.