Problem with Fonts while exporting to PDF
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Problem with Fonts while exporting to PDF
Hello,
I am having the following error when i try to export a report to PDF:
PdfFonts error at point 9, code #80004005: The system cannot find the file specified
at Stimulsoft.Report.Export.PdfFonts.ThrowError(Int32 step) at Stimulsoft.Report.Export.PdfFonts.GetFontDataFromGdi(Font font, Byte[]& buff) at Stimulsoft.Report.Export.PdfFonts.GetFontDataBuf(Font font, Byte[]& buff) at Stimulsoft.Report.Export.StiPdfExportService.RenderFontTable(Int32 indexOffset) at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings) at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream) at...
Note that the report was working properly before and now it is always generating this error.
Awaiting for your support.
Regards,
Netiks
I am having the following error when i try to export a report to PDF:
PdfFonts error at point 9, code #80004005: The system cannot find the file specified
at Stimulsoft.Report.Export.PdfFonts.ThrowError(Int32 step) at Stimulsoft.Report.Export.PdfFonts.GetFontDataFromGdi(Font font, Byte[]& buff) at Stimulsoft.Report.Export.PdfFonts.GetFontDataBuf(Font font, Byte[]& buff) at Stimulsoft.Report.Export.StiPdfExportService.RenderFontTable(Int32 indexOffset) at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings) at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream) at...
Note that the report was working properly before and now it is always generating this error.
Awaiting for your support.
Regards,
Netiks
Re: Problem with Fonts while exporting to PDF
Hello,
Could you explain your issue in more details?
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Could you explain your issue in more details?
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: Problem with Fonts while exporting to PDF
Dear,
You can find attached the report file that i am using to export data to PDF along with some data sample.
Note that this error is occurring while generating the report from a specific computer only. Could it be related to any software installed lately on that computer?
Regards.
You can find attached the report file that i am using to export data to PDF along with some data sample.
Note that this error is occurring while generating the report from a specific computer only. Could it be related to any software installed lately on that computer?
Regards.
- Attachments
-
- Sample1.xlsx
- Sample data sent to the report to be generated. Note that I am providing a data table as data source and the first row of the excel file is the Column name.
- (11.24 KiB) Downloaded 361 times
-
- SampleReport.mrt
- (14.2 KiB) Downloaded 630 times
Re: Problem with Fonts while exporting to PDF
Hello,
We couldn't reproduce this bug.
Please check the last version on this specific computer and let us know about the result.
Thank you.
We couldn't reproduce this bug.
Please check the last version on this specific computer and let us know about the result.
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: Problem with Fonts while exporting to PDF
Hello,
While browsing your forum i found that the solution for this problem is to reboot the server:
http://forum.stimulsoft.com/viewtopic.php?&t=3742
But the reason behind this problem is still unknown...
Thank you.
While browsing your forum i found that the solution for this problem is to reboot the server:
http://forum.stimulsoft.com/viewtopic.php?&t=3742
But the reason behind this problem is still unknown...
Thank you.
Re: Problem with Fonts while exporting to PDF
Hello.
The problem occurs in the method that works without any changes for years. This issue is incidentally.
Thank you.
As far as we couldn't reproduce the issue and the problem occurs in Windows GDI we couldn't provide you the solution of the problem.faddoul.antoine wrote:While browsing your forum i found that the solution for this problem is to reboot the server:
http://forum.stimulsoft.com/viewtopic.php?&t=3742
But the reason behind this problem is still unknown...
The problem occurs in the method that works without any changes for years. This issue is incidentally.
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: Problem with Fonts while exporting to PDF
Dears,
We are still sometimes getting this error (around once per month) and it is causing us a problem with the customers.
As already mentioned, it is resolved after restarting the server that the stimulsoft is generated on.
Please any new suggestions regarding how to prevent having this error again? Or what is the reason behind this error?
Awaiting for your feedback.
We are still sometimes getting this error (around once per month) and it is causing us a problem with the customers.
As already mentioned, it is resolved after restarting the server that the stimulsoft is generated on.
Please any new suggestions regarding how to prevent having this error again? Or what is the reason behind this error?
Awaiting for your feedback.
Re: Problem with Fonts while exporting to PDF
Hello.
Please, check our latest prerelease build that available on our site.
There were several improvements.
Thank you.
Please, check our latest prerelease build that available on our site.
There were several improvements.
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: Problem with Fonts while exporting to PDF
Hello,
We are still getting the same error even after upgrading to the latest Stimulsoft dlls version.
Please advise.
Thank you.
We are still getting the same error even after upgrading to the latest Stimulsoft dlls version.
Please advise.
Thank you.
Re: Problem with Fonts while exporting to PDF
Hello.
Please, try to set next property:
This property will enable font caching in the static table.
This table will use additional memory but each font will be requested from system once. It should solve your problem.
Thank you.
Please, try to set next property:
Code: Select all
the StiOptions.Export.Pdf.AllowFontsCache = true
This table will use additional memory but each font will be requested from system once. It should solve your problem.
Thank you.