Embedding fonts

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
Steve McDaniel
Posts: 2
Joined: Wed Nov 02 2005

Embedding fonts

Post by Steve McDaniel »

I want to embed fonts in the PDF documents that I create. I also want to support international character sets. I don't think I want to embed licensed fonts, so I am not setting the EmbedLicensedFonts bits in the FileNameOptionsEx property. However, testing has shown that when I use the MultilingualSupport option it supercedes the EmbedLicensedFonts option and embeds licensed fonts. Is this a bug or am I missing something.

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

Post by Joan »

Hello,

Please try to convert your document whithout calling Multilanguage support, use only Font Embedding, is this font being embedded, it it gets embedded than it is not a licensed font.

Which version of the PDF Converter are you using?
Steve McDaniel
Posts: 2
Joined: Wed Nov 02 2005

Post by Steve McDaniel »

I did try to convert my document without using Multilingual support. As expected, fonts not licensed for embedding did not get embedded. However, I need the Multilingual support. I ran some tests to see if non-western characters would show up in my PDF file without Multilingual support and they didn't. We are a global company and have many non-english customers. We need the Multilingual support and would prefer to not embed licensed fonts.

I noticed other posts where your team recommended the option to transfer licensed fonts. Do you have any insites as to the legal ramifications of doing this?

We are using version 2.1.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

I tried to reproduce this issue using the following versions of the PDF Converter: 2.0, 2.10 and our latest 2.50.

I wasn't able to reproduce it using none of these versions, when multilanguage is set and partial and standard font embedding are checked, licensed fonts are not embedded, these are embedded only if licensed font embedding is checked.

I tried using different licensed fonts from Excel 2003 under XP.

I suggest that you double check that licensed font is not checked and that the corresponding value is not getting stuck in the registry.

If this didn't help please send a sample to support@amyuni.com so our Technical Support team can try to reproduce this issue.
jk
Posts: 11
Joined: Fri Mar 23 2007

Post by jk »

Hi!

I'm rising this topic because I have the same problem (in version 3.0, DLL API).
When I don't set flag MultilingualSupport then all embedding flags (FullEmbed, EmbedStandardFonts and EmbedLicensedFonts) work correctly.

When MultilingualSupport is set, then all fonts in the document (including "standard" and "licensed") are partly-embedded (Adobe Reader in the "document properties" displays "Embedded subset" for all fonts). They are all partly-embedded independently of the value of FullEmbed.

Code: Select all

pdfPrinter = DriverInit("Amyuni PDF Converter");
// Event DOCUMENTEVENT_ENABLEDPRE activates the printer.

SetDefaultPrinter(pdfPrinter);
SetFontEmbedding(pdfPrinter, true);
// ... Set other options
SetDefaultConfig(pdfPrinter);
SetDefaultFileName(pdfPrinter, sToFile);

long nFlags = NoPrompt | UseFileName | BroadcastMessages
			| MultilingualSupport | EmbedFonts;
// * following lines are completely ignored and the Driver works everitime
// * as if nFlags |= EmbedStandardFonts | EmbedLicensedFonts
// nFlags |= FullEmbed;
// nFlags |= EmbedStandardFonts;
// nFlags |= EmbedLicensedFonts;
SetFileNameOptions(pdfPrinter, nFlags);

// call printing application (WINWORD.EXE)
// ...

DriverEnd(pdfPrinter);
Can I control fonts embedding in the MultilingualSupport mode?

And another question.
Could you please provide me with the complete list of the "Standard" fonts? I can see (when MultilingualSupport is turned off) that flag EmbedStandardFonts affects Arial and TimeNewRoman fonts only. Are there any other "standard" fonts?

Thank you.

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

Post by Joan »

Hello,

I tried using full font emebedding with a new version 3.01 (to be released soon) of the PDF Converter and i didn't face any problem fully embedding standard fonts while using Multilanguage.

I will verify this issue furhter more and will get back to you.
jk
Posts: 11
Joined: Fri Mar 23 2007

Post by jk »

Joan wrote:...
I will verify this issue furhter more and will get back to you.
Thank you, Joan.

What about "standard" fonts? Could you please provide me with the complete list?..

Thank you,
Sergey.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The standard fonts on Windows are:
"Arial"
"Times New Roman"
"Symbol"
"Helvetica"
"Courier"
"Zapf Dingbats"
jk
Posts: 11
Joined: Fri Mar 23 2007

Post by jk »

Thank, you, Joan.

BTW, are you sure about the last font ("Zapf Dingbats")? It's really not a standard one (I never saw it in the Windows installations) ...
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

These are the standard fonts for PDF, you will get them installed when you have any PDF Reader installed on your machine.

When it it comes to the fonts that appear without the need to Multilangauge Support, the list is much longer, these would be all the Windows fonts that have Western Characters, it is mainly Unicode fonts (symbol fonts, non-western fonts like Asian, Arabic...) that require multilanfuage support.
jk
Posts: 11
Joined: Fri Mar 23 2007

Post by jk »

Joan wrote:These are the standard fonts for PDF, you will get them installed when you have any PDF Reader installed on your machine.
Yes, thank you: I can see it in the Acrobat...
Joan wrote:When it it comes to the fonts that appear without the need to Multilangauge Support, the list is much longer, these would be all the Windows fonts that have Western Characters, it is mainly Unicode fonts (symbol fonts, non-western fonts like Asian, Arabic...) that require multilanfuage support.
Unfortunately, the Multilanguage Support ruins the Fonts Embedding options thus we don't use it for now. BTW, it ruins PDF/A validation (using Proflight plugin in the Acrobat 8 ) as well (parsing error).
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

We are fixing a related issue, the fix will be included in our new build 3.01
jk
Posts: 11
Joined: Fri Mar 23 2007

Post by jk »

Thanks!
Post Reply