EmbedSystemFonts Constructor
Initializes a new instance of the EmbedSystemFonts class.
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New EmbedSystemFonts()
public EmbedSystemFonts()
Remarks
embedSystemFonts (Embed Common System Fonts)
This element specifies that applications shall embed common system fonts when they are in use and font embedding is enabled for this document using the embedTrueTypeFonts element (§2.8.2.8). Common system fonts refer to a set of fonts which are typically always present on a machine, and are not defined by this Office Open XML Standard.
If this element is omitted, then the set of fonts defined as common system fonts should not be embedded in the current document when font embedded is turned on. If the embedTrueTypeFonts element is omitted or false, then this setting has no effect.
Consider a WordprocessingML document that specifies that it shall embed fonts, including common system fonts. This requirement would be specified using the following WordprocessingML in the document settings part:
<w:embedTrueTypeFonts w:val="true" />
<w:embedSystemFonts w:val="true"/>
The embedSystemFonts element's val attribute has a value of true specifying that common system fonts should be included in this document when they are used.
Parent Elements |
---|
settings (§2.15.1.78) |
Attributes |
Description |
---|---|
val (On/Off Value) |
Specifies a binary value for the property defined by the parent XML element. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>