fastreport export pdf not shows fonts orginally(returns arial)

I have a sample report. when i export it as pdf from fastreport designer font is true. when i export it pdf from asp.net code on debug mode font is true again.

But when i export it as pdf from asp.net on publish font is changing to arial. Chomsky font is installed on server which i tested.

Fastreport version:2018.4.7.0


my code sample:


FastReport.Utils.Config.WebMode = true;

var webReport = new FastReport.Web.WebReport();

webReport.Report.Load(reportPath);

webReport.Report.Dictionary.RegisterData(List, "Table", true);

webReport.PdfEmbeddingFonts = true;

webReport.Report.Prepare();

System.IO.Stream stream = new System.IO.MemoryStream();

FastReport.Export.Pdf.PDFExport exportDiploma = new FastReport.Export.Pdf.PDFExport();

//exportDiploma.PdfCompliance = FastReport.Export.Pdf.PDFExport.PdfStandard.PdfA_3b;

exportDiploma.EmbeddingFonts = true;

webReport.Report.Export(exportDiploma, stream);

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.