SaveSubsetFonts Class
Subset Fonts When Embedding.When the object is serialized out as xml, its qualified name is w:saveSubsetFonts.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.SaveSubsetFonts
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class SaveSubsetFonts _
Inherits OnOffType
'Usage
Dim instance As SaveSubsetFonts
public class SaveSubsetFonts : OnOffType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.8.3.15 saveSubsetFonts (Subset Fonts When Embedding)
This element specifies that applications shall subset fonts when font embedding is enabled for this document using the embedTrueTypeFonts element (§17.8.3.8). Subsetting is a mechanism by which only the glyphs used in the contents of this WordprocessingML document are stored in an embedded font, in order to prevent the file from becoming unnecessarily large from the use of a small number of glyphs from a large embedded font.
If this element is omitted, then the set of fonts should not be subsetted in the current document when font embedded is turned on. If the embedTrueTypeFonts element is omitted or false, then this setting has no effect.
[Example: Consider a WordprocessingML document that specifies that it must subset embedded fonts. This requirement would be specified using the following WordprocessingML in the document settings part:
<w:embedTrueTypeFonts w:val="true" /> <w:saveSubsetFonts w:val="true"/>
The embedSystemFonts element's val attribute has a value of true specifying fonts should be subsetted in this document when they are embedded. end example]
Parent Elements |
---|
settings (§17.15.1.78) |
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.