- Code: Select all
Using spireDocument As New Document(Path.Combine(checkTemplateFolder, checkTemplateName))
' removed code that sets some data in the word document
Dim params As New ToPdfParameterList With {.IsEmbeddedAllFonts = True}
spireDocument.SaveToStream(stream, params)
spireDocument.Close()
The code works locally while developing. The code works on our UAT web server. The code worked for 3 hours after initial release to our production server in the afternoon on March 4 but the next morning (and currently) the generated PDF does not contain the embedded fonts. I'm at a loss for what to troubleshoot next. I've uploaded some relevant files including the Word document used as a template and generated PDFs. Any suggestions?