FastReport PDF Size is to big..
I have a FASTREPORT PDF and it is 224kb in size on 1 single sheet. and a PDF generated by another tool 33kb 1 single page, with Similar content.
Can I do something to improve the size of the Fastreport PDF?
Fast Report, Version=2017.4.3.0,
I currently do this:
var exportpdf = new FastReport.Export.Pdf.PDFExport();
exportpdf.ShowProgress = false;
exportpdf.Compressed = true;
exportpdf.Background = false;
exportpdf.TextInCurves = false;
exportpdf.PrintOptimized = true;
exportpdf.ColorSpace = PDFExport.PdfColorSpace.RGB;
exportpdf.EmbeddingFonts = true;
exportpdf.JpegCompression = true;
var ResultFile = new MemoryStream();
fastReportObject.Prepare();
fastReportObject.Export(exportpdf, ResultFile);
Comments
this increases the file size immensely:
exportpdf.EmbeddingFonts = true;
Yeah that's right.
But without "exportpdf.EmbeddingFonts = true;" I have cases like this (image)
I really think it has a lousy file size performance. It's huge the difference compared to other PDF Maker
We are thinking of removing fastReport, as the problem with large file size for large volumes is very strong.
Thanks for your answer :)