developer logo

sv:font

A font node is always a sub node of the font repository (sv:fontRepository) node. It has no children.

The fonts defined for the site are part of the appearance site properties underneath the template fonts tab.

Node name

Name

Type and description

<font-name>

Dynamic / Model dependent


The given name of the font

 

Properties

Name

Type and description

displayName

javax.jcr.PropertyType.STRING


The given name of the font.



headingLevel

javax.jcr.PropertyType.LONG


The font heading level. Is 0 if the font isn't a header.



selectorText

javax.jcr.PropertyType.STRING


The selector text content for the corresponding CSS entry (e.g. normal).

SiteVision Utility API tip!

  • ​The FontUtil interface exposes a set of methods for easy access of sv:font nodes based on their names or class names.