DOCXReadWrite and PDF Embended Fonts , PDFA1

Questions and answers on how to use DOCXReadWrite
Post Reply
eteoklis
Posts: 31
Joined: Wed Feb 03, 2021 10:42 am

DOCXReadWrite and PDF Embended Fonts , PDFA1

Post by eteoklis »

Hello there

We were able to embed the fonts when saving the document as a PDF by altering the export library directly.
Also in the same way we could create PDFA1 documents.


constructor TAXWWritePDF.Create(AOwner: TComponent);
begin
inherited Create(AOwner);

FPDF := TPdfDocument.Create;
// FPDF := TPdfDocument.Create(False,0,False,TPdfEncryption.New(elRC4_128,'sugga','sugga',PDF_PERMISSION_NOCOPY));
FPDF.EmbeddedTTF := True;
FPDF.PDFA1 := True



It would by nice to have a way to have these choices when saving as an PDF (Or have access to the TPdfDocument directly).

Thanks in advance
Post Reply