Share via


FaceName Element

Visio XML Reference

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
Maximum Occurrences Unbounded 

Element information

Parent elements

FaceNames

Child elements

None

Remarks

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.

XML
  <FaceNames>
    <FaceName ID="1" Name="Arial Unicode MS" UnicodeRanges="-1 -369098753 63 0" CharSets="1614742015 -65536" Panos="2 11 6 4 2 2 2 2 2 4" Flags="357" />
    <FaceName ID="2" Name="Symbol" UnicodeRanges="0 0 0 0" CharSets="-2147483648 0" Panos="5 5 1 2 1 7 6 2 5 7" Flags="261" />
    <FaceName ID="3" Name="Wingdings" UnicodeRanges="0 0 0 0" CharSets="-2147483648 0" Panos="5 0 0 0 0 0 0 0 0 0" Flags="261" />
    <FaceName ID="4" Name="Arial" UnicodeRanges="31367 -2147483648 8 0" CharSets="1073742335 -65536" Panos="2 11 6 4 2 2 2 2 2 4" Flags="325" />
    .......
</FaceNames>