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?
Font Embedding not working
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.
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.