using (FastReport.Export.Pdf.PDFExport pdfExport = new FastReport.Export.Pdf.PDFExport())
{
  pdfExport.PdfCompliance = FastReport.Export.Pdf.PDFExport.PdfStandard.PdfX_4;
  pdfExport.Export(report, ms);
}
To ensure that the generated PDF file opens correctly on any device and contains Unicode glyph tables, set the EmbeddingFonts property to true and select the PDF/A or PDF/X standard:
using (var pdfExport = new FastReport.Export.Pdf.PDFExport())
{
pdfExport.ShowProgress = false;
pdfExport.EmbeddingFonts = true; // REQUIRED for Unicode!
pdfExport.PdfCompliance = PDFExport.PdfStandard.PdfA_2a; // or PdfX_4
report.Export(pdfExport, ‘unicode_output.pdf’);
}
Comments
1. unicode font, https://www.google.com/get/noto/
2. set pdf compliance (embedded font)
Hello!
Windows fonts (Arial, Times New Roman, Tahoma) are not included by default in Linux. Please install the Google Noto or DejaVu fonts:
sudo apt-get install fonts-noto fonts-dejavu-core ttf-mscorefonts-installer
sudo fc-cache -f -v
To ensure that the generated PDF file opens correctly on any device and contains Unicode glyph tables, set the EmbeddingFonts property to true and select the PDF/A or PDF/X standard:
using (var pdfExport = new FastReport.Export.Pdf.PDFExport()) { pdfExport.ShowProgress = false; pdfExport.EmbeddingFonts = true; // REQUIRED for Unicode! pdfExport.PdfCompliance = PDFExport.PdfStandard.PdfA_2a; // or PdfX_4 report.Export(pdfExport, ‘unicode_output.pdf’); }