Font embedding in XPS and PDF files that are generated from Microsoft Office

Article translations Article translations
Article ID: 2524096 - View products that this article applies to.
Expand all | Collapse all

SUMMARY

The 2007 Microsoft Office system and Microsoft Office 2010 applications allow for creating XPS and PDF files that support font embedding. Office uses the Font Embedding Service APIs that Windows provides to embed fonts in XPS and PDF files. Only fonts that are compatible with that service can be embedded in the XPS and PDF documents that Office generates.

MORE INFORMATION

The built-in XPS and PDF exporters that the 2007 Microsoft Office system and Office 2010 use can embed certain TrueType fonts in the file. To do this, the 2007 Microsoft Office system and Office 2010 use the Font Embedding Service Library (T2embed.dll) that the Windows operating system provides. T2embed is used to manage and embed TrueType fonts or a subset of these fonts in such documents. This can limit the types of fonts that can be successfully embedded in XPS and PDF files that Office generates because the service only works with TrueType fonts or with OpenType fonts that are based on the TrueType format.

For more information about the Font Embedding Service Library API, visit the following Microsoft website:
http://msdn.microsoft.com/en-us/library/dd144830(v=VS.85).aspx
The font must support font embedding and be licensed appropriately. If a font cannot be embedded, the font is rasterized so that it can be displayed as expected on the target computer if the font does not exist. Rasterization can increase the file size considerably. You can disable rasterization and avoid the file size increase. However, in this case, it is not guaranteed that the document can be viewed the same if the document is transported to a computer on which the font is not installed.

OpenType fonts are supported as long as they use the TrueType file format. Type 1 fonts that contain or do not contain OpenType tables are not supported.

Some common fonts that are shared on all Windows versions are excluded from embedding even though the font supports it. Font vendors may explicitly add or remove fonts from the list, or the font vendors may use API commands to alter the status of the font's embeddability. You can find the list of fonts that are explicitly granted or denied permissions to be embedded under the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\t2embed
For more information about this registry subkey and about the API call that is used to toggle the permissions status to embed a specific font, visit the following Microsoft website:
http://msdn.microsoft.com/en-us/library/dd145149(v=VS.85).aspx
To check whether a font supports embedding, you can download and install the Font Properties Shell Extension (version 2.30) that Microsoft Typography provides. To do this, visit following website, and notice that the download link is at the bottom of the page in the "Download instructions " section:
http://www.microsoft.com/typography/TrueTypeProperty21.mspx
As soon as the extension is installed, you should be able to right-click any standard font file and review its properties. The extension contains an Embedding tab that you can use to review the embeddability permissions that are granted for that font. The font also must be in a TrueType file format.

Properties

Article ID: 2524096 - Last Review: August 18, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Office Standard 2010
  • Microsoft Office Professional 2010
  • Microsoft Office Professional Plus 2010
  • Microsoft Office Standard 2007
  • Microsoft Office Professional 2007
  • Microsoft Office Professional Plus 2007
Keywords: 
KB2524096

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com