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. Fonts can also be archived and such fonts does not provide any styling data (i.e. their settings are not present in any CSS file).
Name | Type and description |
---|---|
<font-name> | Dynamic / Model dependent |
The given name of the font |
Name | Type and description |
---|---|
archived | javax.jcr.PropertyType.BOOLEAN |
Whether or not this font is archived [@since 2023.11.1] | |
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.