Page 1 of 1

Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 10:29 am
by rromeijn
If i convert a tif image to PDFA + OCR with the function SaveAsPDFOCR,
The resulting PDF is Not completely PDF/A-1b complient.
If i use the preflight function from Adobe Actobat it tells me a font is not embedded in the PDF.

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 12:42 pm
by Loïc
Hello,

To generate PDF/A you have to switch the PDFA parameter of the function to True. Are you doing that?

if the problem persists please provide a code snippet reproducing it.

Kind regards,

Loïc

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 1:10 pm
by rromeijn
If have set The PDFA Patameter to True.
The PDF is of Type PDF/A, but not fully PDF/A complient accourding to Acrobat Capture's Preflight

Code: Select all

Var
  Img: TGdPictureImaging;
  iID: Integer;
begin
  Img:=TGdPictureImaging.Create(Self);
  Img.SetLicenseNumber('XXX');
  iID:=Img.CreateGdPictureImageFromFile(Edit1.text);
  Img.SaveAsPDFOCR_3(iID, ChangeFileExt(Edit1.Text, '.pdf'), 'nld','C:\OCRFolder', '', True, '', '', '', '', '');
  Img.Free;
The output result is the same when i use PDFOCRStart and PDFOCRStop functions.

Code: Select all

Var
  Img: TGdPictureImaging;
  iID, pID: Integer;
begin
  Img:=TGdPictureImaging.Create(Self);
  Img.SetLicenseNumber('XXX');
  iID:=Img.CreateGdPictureImageFromFile(Edit1.text);
  pID:=Img.PdfOCRStart(ChangeFileExt(Edit1.Text, '.pdf'), True, '', '', '', '', '');
  Img.PdfAddGdPictureImageToPdfOCR(pID, iID, 'nld','C:\OCRFolder', '');
  Img.PdfOCRStop(pID);
  Img.Free;
end;

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 2:54 pm
by Loïc
I can't find any problem. Are you using the latest version?

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 4:17 pm
by rromeijn
Loic,

Just to be sure we have downloaded the latest version 9.4.8 this morning and installed it.
but it makes no difference in PDF. (it is tested on 2 machines)

i have attached a zip which contains both the PDF/A-1b and the source .png file.
can you create a PDF/A-1b with OCR from this PNG and return it to me?

i can send you the Acrobat preflight report also if you want, but unfortunately it is writen in dutch.

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 5:57 pm
by Loïc
For me (and also for Acrobat X preflight) the attached PDF is PDF/A compliant.
validation-adobe-X.jpg

Re: Not PDFA complient, font not embedded

Posted: Wed May 22, 2013 6:02 pm
by Loïc
BTW this PDF has been generated with an old version of GdPicture. The latest version improve highly the glyphs positioning and some embedded character widths.

Re: Not PDFA complient, font not embedded

Posted: Thu May 23, 2013 11:19 am
by rromeijn
I have asked te programmer who produced this pdf. he confirmed for this specific pdf he didn't use the latest GdPicture version.
but we have the same issue if we use 9.4.8.

we use acrobar 9 to do the preflight.
Perhaps it's time for us to upgrade to version X
for now i'll trust on your judgement and blame acrobat preflight 9

thanks for your efford and time.