fo:common-font-properties
Common Font Properties
Attribute group information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
font-family | [0..1] | Anonymous | A prioritized list of font family names and/or generic family names. To deal with the problem that a single font may not contain glyphs to display all the characters in a document, or that not all fonts are available on all systems, this property allows authors to specify a list of fonts, all of the same style and size, that are tried in sequence to see if they contain a glyph for a certain character. This list is called a font set. CSS2 Reference: | from group fo:font-family |
font-selection-strategy | [0..1] | Anonymous | from group fo:font-selection-strategy | |
font-size | [0..1] | fo:font-size | The size of the font when set solid. The font size corresponds to the em square, a concept used in typography. Note that certain glyphs may bleed outside their em squares. CSS2 Reference: | from group fo:font-size |
font-stretch | [0..1] | Anonymous | Selects a normal, condensed, or extended face from a font family. | from group fo:font-stretch |
font-size-adjust | [0..1] | Anonymous | An aspect value for an element that will preserve the x-height of the first choice font in the substitute font. This property allows authors to specify an aspect value for an element that will preserve the x-height of the first choice font in the substitute font. CSS2 Reference: | from group fo:font-size-adjust |
font-style | [0..1] | fo:font-style | Requests normal (sometimes referred to as "roman" or "upright"), italic, and oblique faces within a font family. CSS2 Reference: | from group fo:font-style |
font-variant | [0..1] | fo:font-variant | In a small-caps font, the glyphs for lowercase letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions. The "font-variant" property requests such a font for bicameral (having two cases, as with Roman script). This property has no visible effect for scripts that are unicameral (having only one case, as with most of the world's writing systems). CSS2 Reference: | from group fo:font-variant |
font-weight | [0..1] | fo:font-weight | The weight of the font. CSS2 Reference: | from group fo:font-weight |
font | [0..1] | Anonymous | A shorthand property for setting "font-style", "font-variant", "font-weight", "font-size", "line-height", and "font-family", at the same place in the stylesheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts. Value is [ [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height>]? <font-family> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit CSS2 Reference: | from group fo:font |
Used in
- Anonymous type of element fo:bidi-override
- Anonymous type of element fo:block
- Anonymous type of element fo:character
- Anonymous type of element fo:initial-property-set
- Anonymous type of element fo:inline
- Anonymous type of element fo:leader
- Anonymous type of element fo:page-number
- Anonymous type of element fo:page-number-citation
- Anonymous type of element fo:page-number-citation-last
- Anonymous type of element fo:scaling-value-citation
- Anonymous type of element fo:title