Defines the FontCharSet Class. When the object is serialized out as xml, its qualified name is w:charset.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
charset (Character Set Supported By Font)
This element specifies the character set which is supported by the parent font. This information can be used as defined in font substitution logic to locate an appropriate substitute font when this font is not available. This information is determined by querying the font when present and shall not be modified when the font is not available.
If this element is not present, then the character set for this font shall be assumed to be the /IEC 8859-1 character set.
[Example: Consider the following information stored for a single font:
<w:font w:name="SimSun"> <w:charset w:characterSet="GBK" /> …</w:font>
The charset element specifies via its characterSet attribute value of GBK that this font uses the GB-2312 character set. end example]
characterSet (IANA Name of Character Set)
Name of the character set associated with the font. The values allowed by this attribute are defined by the names and aliases listed in the IANA registration table. If this value is specified, the value of the val attribute is ignored.
The possible values for this attribute are defined by the ST_String simple type (§18.104.22.168).
[Note: The W3C XML Schema definition of this element’s content model (CT_Charset) is located in §A.1. end note]
© ISO/IEC29500: 2008.