Frequently Asked Question:
Why is font not embedded when using AddSubsettedFont?
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???
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.