PDF font embed fails for safari/mac

Posted by: travis.beltrametti on 28 May 2021, 8:10 am EST

  • Posted 28 May 2021, 8:10 am EST - Updated 30 September 2022, 4:41 pm EST

    We have a report with an embedded font (Segoe UI).

    On Windows based machines, the PDF opens with the correct font. With safari/mac another font is shown.

    See attached file for example.

  • Posted 28 May 2021, 9:22 am EST

    I have news on this. I could get it to work on PDF download with this line of code:

    var pdfSetting = new GrapeCity.ActiveReports.Export.Pdf.Page.Settings();
    pdfSetting.EmbedFonts = FontEmbedding.All;
    

    But now I have the problem, that when I open a report file directly like this:

    /Report.rdlx?OutputFormat=pdf, the fonts are not embedded.

    Is there a way to generally embed fonts or to specifiy to embed fonts like /Report.rdlx?OutputFormat=pdf&embedFonts=true

    ?

  • Posted 31 May 2021, 11:03 am EST

    Hello Travis,

    Can you please share the code which show the PDF export and download code.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels