Re: problem overriding fonts

2015-02-12 Thread Noeck
> % HERE'S WHERE THE MAGIC HAPPENS :) > (add-pango-fonts fonts 'tempoFont "Century Schoolbook L" (/ (* > staff-height pt) 2.5)) Hi Abraham, I counted on you, our font expert ;) This is indeed some magic to me. But it works (if a # is added before (add-pango-fonts …). Thank you very much. Sho

Re: problem overriding fonts

2015-02-12 Thread tisimst
a1^"Now it works!" } %< - SNIP Now, the \layout and \paper blocks can go into your stylesheet. HTH, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/problem-overriding-fonts-tp171742p171755.html Sent from the User

Re: problem overriding fonts

2015-02-12 Thread Noeck
Hi Kevin, thanks for your reply. Yes, this is a workaround, but I want to have these changes in a style sheet without touching things like \italic in the document. The problem seems to be that font attributes are overwritten by the font-name \override: http://www.lilypond.org/doc/v2.18/Documenta

Re: problem overriding fonts

2015-02-12 Thread Kevin Barry
Hi Joram, I am not sure why \bold and \italic aren't working in your example, but you can still use overrides within the markup blocks to get what you want, e.g. \markup { Andante \override #'(font-name . "Century Schoolbook L italic") con } If you will be doing the override frequently you can m

problem overriding fonts

2015-02-12 Thread Noeck
Hi, I want to use a different font in general (titles, lyrics, etc.) but keep Century Schoolbook L for some parts like MetronomeMarks and BarNumbers. How can I do that without loosing the ability to choose the font weight/shape in the markup using \bold, \italic or \medium? \version "2.18.2" \pa