The font attribute group gathers together attributes for determining the font within a credit or direction. They are based on the text styles for Cascading Style Sheets. The font-family is a comma-separated list of font names. These can be specific font styles such as Maestro or Opus, or one of several generic font styles: music, serif, sans-serif, handwritten, cursive, fantasy, and monospace. The music and handwritten values refer to music fonts; the rest refer to text fonts. The fantasy style refers to decorative text such as found in older German-style printing. The font-style can be normal or italic. The font-size can be one of the CSS sizes (xx-small, x-small, small, medium, large, x-large, xx-large) or a numeric point size. The font-weight can be normal or bold. The default is application-dependent, but is a text font vs. a music font. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
font-family | comma-separated-text | optional | ||||
font-size | font-size | optional | ||||
font-style | font-style | optional | ||||
font-weight | font-weight | optional |
Attribute Group | print-style |
Complex Types | elision, empty-font, extend, fret, lyric-font, measure-style, note, notehead, per-minute, text-element-data, tuplet-dot, tuplet-number, tuplet-type |
<xs:attributeGroup name="font"> <xs:annotation> <xs:documentation>The font attribute group gathers together attributes for determining the font within a credit or direction. They are based on the text styles for Cascading Style Sheets. The font-family is a comma-separated list of font names. These can be specific font styles such as Maestro or Opus, or one of several generic font styles: music, serif, sans-serif, handwritten, cursive, fantasy, and monospace. The music and handwritten values refer to music fonts; the rest refer to text fonts. The fantasy style refers to decorative text such as found in older German-style printing. The font-style can be normal or italic. The font-size can be one of the CSS sizes (xx-small, x-small, small, medium, large, x-large, xx-large) or a numeric point size. The font-weight can be normal or bold. The default is application-dependent, but is a text font vs. a music font.</xs:documentation> </xs:annotation> <xs:attribute name="font-family" type="comma-separated-text"/> <xs:attribute name="font-style" type="font-style"/> <xs:attribute name="font-size" type="font-size"/> <xs:attribute name="font-weight" type="font-weight"/> </xs:attributeGroup> |