Font Embedding not working

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
BoerLowie
Posts: 3
Joined: Tue Apr 04 2006

Font Embedding not working

Post by BoerLowie »

Hi,

we are using Amyuni PDF Converter 2.50.

We use it from Navision with the following code:

CommonDriverInterFace.DriverInit(lstrPDFPrinter);
CommonDriverInterFace.Lock(pstrSpoolCaption);
CommonDriverInterFace.FontEmbedding := TRUE;
CommonDriverInterFace.SetDocFileProps(pstrSpoolCaption,203,'',pstrFileName);


This should embed all possible fonts in the document. We use 2 fonts in the document (Arial & BC39 Barcode font). But none of them are embedded. If the Barcode font is not installed on the pc where you open the PDF you see a bunch of numbers instead of the barcode. If you install the barcode you see the PDF correctly.

Furthermore, the PDF is only 9 KB in size (1 page), which leads me to think the fonts are not embedded.


What is going wrong here?
Gr,

BoerLowie
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,


To know if the fonts are embedded or not you can open the PDF file in Acrobat Reader and check File->Document Properties->Fonts or open it in the PDF Creator and check View ->Document Settings->Fonts.

I advise you to add Font Embedding to your call of DetDocProperties (add it to the Options parameter of that function).

Also please note that to embedd Arial you need to use EmbeddStandardFonts and to embed the Barcode font you may need to use EmbedLicensedFonts if this is a licensed Font and Multilangauge if this is a unicode font.

Hope this helps.
Post Reply