Hi Martin, \version "2.13.21"
dynamics = { \relative c' { c8\mf\< d e f g\!\ff\> f e d c1\!\mf } } \score { \new Staff { \dynamics \override DynamicText #'font-name = "Linux Libertine O Bold Italic" \dynamics } }The exact name (as your system knows it) of the font is important. FontMatrix <http://www.fontmatrix.net/> can that.
Hope that helps. David On 05/24/2010 11:01 AM, Martin Hiendl wrote:
Sorry for being unclear. So I would like to change the typeface of dynamics like \p, \mf, etc. The command\override DynamicText #'font-name = "Linux Libertine"did work, because all my dynamics now have the plain Linux Libertine typeface. The problem is that they have their regular fontstyle, whereas I would like them to be bold and italic. The manual says that editing font-name in that way overrides all settings in font-series or font-shape. This is why this part of the command\override DynamicText #'font-series = #'bolddid not affect the result. So my question is whether there is another way to change the default typeface of the dynamics where I can specify the font-styles like bold and italic. Best Martin On May 24, 2010, at 1:30 AM, Xavier Scheuer wrote:2010/5/24 Martin Hiendl<mar...@martinhiendl.com> :Hi! I hope this hasn't been brought up yet. I tried to change the default dynamics font with the following command: \score { \new Staff \with { \override DynamicText #'font-name = "Linux Libertine" \override DynamicText #'font-series = #'bold \override DynamicText #'font-size = #1 }CORRECTION Maybe it did not work because DynamicText are engraved by "New_dynamic_engraver", which belong to Voice and not Staff... And try adding a # before the font name. \override DynamicText #'font-name = #"Linux Libertine" BTW are you sure the font name is correct (checking with "lilypond -dshow-available-fonts x")? Cheers, Xavier -- Xavier Scheuer<x.sche...@gmail.com>_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
-- David Stocker 804-598-3762 http://notesettersinc.com
\version "2.13.21" dynamics = { \relative c' { c8\mf\< d e f g\!\ff\> f e d c1\!\mf } } \score { \new Staff { \dynamics \override DynamicText #'font-name = "Linux Libertine O Bold Italic" \dynamics } }
<<attachment: dynafont.preview.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user