Error Exporting to Pdf

0q4y.png

Im getting above error while using report in mac otherwise in window it work great. can anyone help me out

Comments

  • Hello!

    On macOS, the Mono environment does not include built-in GDI+. For System.Drawing to work, you need to install the libgdiplus library via Homebrew:

    brew install libgdiplus

    You should also disable font embedding in PDFExport:

    using (var pdf = new FastReport.Export.Pdf.PDFExport())
    {
    pdf.EmbeddingFonts = false;
    report.Export(pdf, ‘output_mac.pdf’);
    }
    
This discussion has been closed.