[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
This element defines the font character set of this font.
This field is used in font creation and selection if a font of the given facename is not available on the system. Although it is not required to have around when resolving font facename, the information can be stored for when needed to help resolve which font face to use of all available fonts on a system.
Charset represents the basic set of characters associated with a font (that it can display), and roughly corresponds to the ANSI codepage (8-bit or DBCS) of that character set used by a given language. Given more common use of Unicode where many fonts support more than one of the traditional charset categories, and the use of font linking, using charset to resolve font name is less and less common, but still can be useful.
These are operating-system-dependent values.
[Note: The following are some of the possible the character sets:
INT Value |
Character Set |
0 |
ANSI_CHARSET |
1 |
DEFAULT_CHARSET |
2 |
SYMBOL_CHARSET |
77 |
MAC_CHARSET |
128 |
SHIFTJIS_CHARSET |
129 |
HANGEUL_CHARSET |
129 |
HANGUL_CHARSET |
130 |
JOHAB_CHARSET |
134 |
GB2312_CHARSET |
136 |
CHINESEBIG5_CHARSET |
161 |
GREEK_CHARSET |
162 |
TURKISH_CHARSET |
163 |
VIETNAMESE_CHARSET |
177 |
HEBREW_CHARSET |
178 |
ARABIC_CHARSET |
186 |
BALTIC_CHARSET |
204 |
RUSSIAN_CHARSET |
222 |
THAI_CHARSET |
238 |
EASTEUROPE_CHARSET |
255 |
OEM_CHARSET |
The OEM_CHARSET value specifies a character set that is operating-system dependent. end note]
Fonts with other character sets may exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font.
Parent Elements |
font (§3.8.21); rPr (§3.4.7) |
Attributes |
Description |
val (Value) |
The value of an integer, where each value corresponds to a different character set. Valid values are 0 to 255.
The possible values for this attribute are defined by the XML Schema int datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_IntProperty">
<attribute name="val" type="xsd:int" use="required"/>
</complexType>