Not PDFA complient, font not embedded

Discussions about machine vision support in GdPicture.
Post Reply
rromeijn
Posts: 28
Joined: Fri Jun 18, 2010 4:21 pm

Not PDFA complient, font not embedded

Post by rromeijn » Wed May 22, 2013 10:29 am

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.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Not PDFA complient, font not embedded

Post by Loïc » Wed May 22, 2013 12:42 pm

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

rromeijn
Posts: 28
Joined: Fri Jun 18, 2010 4:21 pm

Re: Not PDFA complient, font not embedded

Post by rromeijn » Wed May 22, 2013 1:10 pm

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;

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Not PDFA complient, font not embedded

Post by Loïc » Wed May 22, 2013 2:54 pm

I can't find any problem. Are you using the latest version?

rromeijn
Posts: 28
Joined: Fri Jun 18, 2010 4:21 pm

Re: Not PDFA complient, font not embedded

Post by rromeijn » Wed May 22, 2013 4:17 pm

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.
Attachments
00000001.zip
(465.85 KiB) Downloaded 412 times

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Not PDFA complient, font not embedded

Post by Loïc » Wed May 22, 2013 5:57 pm

For me (and also for Acrobat X preflight) the attached PDF is PDF/A compliant.
validation-adobe-X.jpg

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Not PDFA complient, font not embedded

Post by Loïc » Wed May 22, 2013 6:02 pm

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.

rromeijn
Posts: 28
Joined: Fri Jun 18, 2010 4:21 pm

Re: Not PDFA complient, font not embedded

Post by rromeijn » Thu May 23, 2013 11:19 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest