Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Why is font not embedded when using AddSubsettedFont?

Question

I am trying to embed a subset of Arial into a PDF.

Here is the code I use:

dim fStr, iFont

fStr = "TestCopyright"

iFont = SED.AddSubsettedFont("Arial", 1, fStr)

Call SED.DrawText(306, 18, SED.GetSubsetString(fStr))

After it runs, I check my PDF and the text looks good, but it is showing up in properties as T3Font_0. When I look at the Fonts tab in Document Properties, I see T3Font_0 listed, but it is not embedded.

Why is this not showing up as "Arial (Embedded Subset)"?

Am I doing something wrong???

Answer

Nope, you are not doing anything wrong. It has worked correctly. The font has been successfully subsetted and added to the document. The "Arial (Embedded Subset)" text that you're referring to is something that Acrobat adds to the font data that it recognizes, but it is not the final word on whether an embedded subset of a font has been added.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum