Problem with Fonts while exporting to PDF

Stimulsoft Reports.NET discussion
faddoul.antoine
Posts: 16
Joined: Mon Sep 24, 2012 7:08 am

Re: Problem with Fonts while exporting to PDF

Post by faddoul.antoine »

Hello,

After settings the property StiOptions.Export.Pdf.AllowFontsCache = true, I am getting the error:
PdfFonts error at point 9, code #80004005: The operation completed successfully

Any idea?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem with Fonts while exporting to PDF

Post by HighAley »

Hello.

Which version do you use?
Please, try the latest prerelease build that is available on our site.

Thank you.
faddoul.antoine
Posts: 16
Joined: Mon Sep 24, 2012 7:08 am

Re: Problem with Fonts while exporting to PDF

Post by faddoul.antoine »

Hello,

I am using the version 2012.2.1400.0.
Is there any new version?

Thanks
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Problem with Fonts while exporting to PDF

Post by Andrew »

Hello,

Please get the prerelease builds at http://www.stimulsoft.com/en/downloads/reports-net
Please let us know about the result.

Thank you.
djjoyro
Posts: 32
Joined: Tue Apr 05, 2011 4:50 am
Location: România

Re: Problem with Fonts while exporting to PDF

Post by djjoyro »

Hello,

We still encounter this problem:

System.Exception: PdfFonts error at point 9, code #80004005: Opération réussie
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.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.Export.StiExportService.DoExport(StiExportInfo info)
at Stimulsoft.Report.Export.StiExportService.StartExport(StiReport report, Stream stream, StiExportSettings settings, Boolean sendEMail, Boolean openAfterExport, String fileName, StiGuiMode guiMode)
at Stimulsoft.Report.Export.StiPdfExportService.form_Complete(IStiFormRunner form, StiShowDialogCompleteEvetArgs e)
at Stimulsoft.Report.Wpf.StiWpfFormRunner.InvokeComplete(Boolean dialogResult)
at Stimulsoft.Report.Wpf.StiWpfFormRunner.ShowDialog()
at Stimulsoft.Report.Export.StiPdfExportService.Export(StiReport report, String fileName, Boolean sendEMail, StiGuiMode guiMode)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.SaveDocument(StiExportService service, Boolean sendEMail)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.OnReportSavePdf(RoutedEventArgs e)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.InvokeReportSavePdf()


Version: 2011.1.1000.0

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem with Fonts while exporting to PDF

Post by HighAley »

Hello.

Please, try our latest release. If the error still exist check if you have access to used fonts and send us more information about your issue.

Thank you.
alibekUrazgulov
Posts: 3
Joined: Tue Jan 26, 2021 4:24 am

Re: Problem with Fonts while exporting to PDF

Post by alibekUrazgulov »

I have an error in Net.Standard 2.0 "PdfFonts error at point 8, code #80004005. "
Stimulsoft version 2020.5.1
The error comes out if I put "StiOptions.Export.Pdf.AllowImportSystemLibraries = true;". If i put "StiOptions.Export.Pdf.AllowImportSystemLibraries = false;", then there is no error, but then the standard view of pdf files in android does not display fonts
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with Fonts while exporting to PDF

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
alibekUrazgulov
Posts: 3
Joined: Tue Jan 26, 2021 4:24 am

Re: Problem with Fonts while exporting to PDF

Post by alibekUrazgulov »

I'm still trying to figure out the problem on my own.
HighAley wrote: Thu Dec 11, 2014 10:47 am Hello.

Please, try our latest release. If the error still exist check if you have access to used fonts and send us more information about your issue.

Thank you.
What access do you need to provide, If our application is deployed on IIS?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with Fonts while exporting to PDF

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply