when converting pdf-files to the pdf/a-format, on some pdfs i get a NotSupportedException, message "Convert font to embedded font is not supported now (for PDF/A).".
Code: Select all
Vintasoft.Imaging.Pdf.PdfDocument pdfConvert;
Vintasoft.Imaging.Pdf.PdfDocument pdfSource;
pdfSource = new Vintasoft.Imaging.Pdf.PdfDocument(@"D:\test.pdf");
pdfConvert = new Vintasoft.Imaging.Pdf.PdfDocument(Vintasoft.Imaging.Pdf.PdfFormat.Pdf_A);
foreach (Vintasoft.Imaging.Pdf.Tree.PdfPage pPage in pdfSource.Pages)
{
pdfConvert.Pages.Add(pPage);
}
pdfConvert.Save(@"d:\testpdfa.pdf");
pdfSource.Dispose();
pdfConvert.Dispose();
To workaround this, i have to convert the pdf pages to images/bitmaps, and add them to the new pdf/a-pdf, right?
Is there a way to determine, if a pdf file can be converted to pdf/a without the embedding fonts problem?
Thank you for your support!