Compartir a través de


FaceName Element

Contains information about a font.

Syntax

<FaceName
    [ID]
    [Name]
    [UnicodeRanges]
    [CharSets]
    [Panos]
    [Flags]
/>

Attributes

ID

Optional int. The ID of the element within its parent element.

Name

Optional string. The name of the font as a UTF-16 Unicode string.

UnicodeRanges

Optional string. The supported Unicode ranges of the font.

CharSets

Optional string. The supported character sets of the font.

Panos

Optional string. The panose signature for the font. Panose is a classification system for typefaces that categorizes them based upon their visual characteristics.

Flags

Optional int. Flags that indicate the following: missing font, default font, asian font, complex font, vertical font, and font type.

Element properties

Property

Value

Name

FaceName

Minimum Occurrences

0

Maximum Occurrences

Unbounded

Element information

Parent elements

FaceNames

Child elements

None

When you create a Visio document, all the fonts on the system are listed in the font table with ascending ID numbers.

However, when you save the document, only those fonts actually used are persisted. Each time the document is opened, unused fonts are appended to the end of the font table; each time the document is saved, only fonts that are actually used are persisted.

Example

The following is an fragment of a typical font table, which specifies the characteristics of the fonts that appear in the document.