The weird thing: this only happens in my production app. I can not reproduce this in a standolen app. Although, I use the exact same code:
Code: Select all
var stiReport = new StiReport();
stiReport.Load("pdf-export-test.mrt");
stiReport.Render();
stiReport.ExportDocument(StiExportFormat.Pdf, "fonts-embedded.pdf",
new StiPdfExportSettings { EmbeddedFonts = true });
stiReport.ExportDocument(StiExportFormat.Pdf, "fonts-not-embedded.pdf",
new StiPdfExportSettings { EmbeddedFonts = false });