I have a Windows service that is converting HTML to PDF. I am embedding a custom front by calling
var fontSwiftFont = pdfDoc.EmbedFont("swift-fontv2", LanguageType.Latin);
Everything works fine on my local pc and the QA environment, but after installing the new font on the production server, the font does not get embedded in the Pdf. The html displays fine in IE on the server though.
According to ABCPdf site, "Fonts are cached so newly added fonts will not be available to ABCpdf until the application is restarted.". However restarting the service does not fix the problem.
If I run a stand alone test app that does the same as the service it works.
I suspect rebooting will fix the issue, but I can't reboot because its a prod box running other apps.