| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < flag-interface ] | [ Up : Graphical Object Interfaces ] | [ footnote-interface > ] |
3.2.37 font-interface
Any symbol that is typeset through fixed sets of glyphs, (i.e., fonts).
User settable properties:
font-encoding(symbol)The font encoding is the broadest category for selecting a font. Currently, only lilypond’s system fonts (Emmentaler) are using this property. Available values are
fetaMusic(Emmentaler),fetaBraces,fetaText(Emmentaler).font-family(symbol)The font family is the broadest category for selecting text fonts. Options include:
sans,roman.font-features(list)Opentype features.
font-name(string)Specifies a file name (without extension) of the font to load. This setting overrides selection using
font-family,font-seriesandfont-shape.font-series(symbol)Select the series of a font. Choices include
medium,bold,bold-narrow, etc.font-shape(symbol)Select the shape of a font. Choices include
upright,italic,caps.font-size(number)The font size, compared to the ‘normal’ size.
0is style-sheet’s normal size,-1is smaller,+1is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSizeis set, its value is added to this before the glyph is printed. Fractional values are allowed.
Internal properties:
font(font metric)A cached font metric object.
This grob interface is used in the following graphical object(s): Accidental, AccidentalCautionary, AccidentalSuggestion, AmbitusAccidental, AmbitusLine, AmbitusNoteHead, Arpeggio, BalloonTextItem, BalloonTextSpanner, BarLine, BarNumber, BassFigure, BreathingSign, ChordName, Clef, ClefModifier, CombineTextScript, CueClef, CueEndClef, Custos, Dots, DoublePercentRepeat, DoublePercentRepeatCounter, DoubleRepeatSlash, DurationLine, DynamicText, DynamicTextSpanner, Episema, Fingering, Flag, FootnoteItem, FootnoteSpanner, FretBoard, HorizontalBracketText, InstrumentName, InstrumentSwitch, KeyCancellation, KeySignature, KievanLigature, LyricHyphen, LyricText, MeasureCounter, MeasureSpanner, MensuralLigature, MetronomeMark, MultiMeasureRest, MultiMeasureRestNumber, MultiMeasureRestScript, MultiMeasureRestText, NonMusicalPaperColumn, NoteHead, NoteName, OttavaBracket, PaperColumn, ParenthesesItem, PercentRepeat, PercentRepeatCounter, RehearsalMark, Rest, Script, SostenutoPedal, SpanBar, StanzaNumber, StringNumber, StrokeFinger, SustainPedal, SystemStartBrace, SystemStartBracket, SystemStartSquare, TabNoteHead, TextScript, TextSpanner, TimeSignature, TrillPitchAccidental, TrillPitchGroup, TrillPitchHead, TrillSpanner, TupletNumber, UnaCordaPedal, VaticanaLigature and VoltaBracket.
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < flag-interface ] | [ Up : Graphical Object Interfaces ] | [ footnote-interface > ] |