lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Use custom font's flat (b) and sharp (#) symbols for chords


From: James Lowe
Subject: RE: Use custom font's flat (b) and sharp (#) symbols for chords
Date: Tue, 15 Feb 2011 17:14:27 +0000

Matthias,

)-----Original Message-----
)From: address@hidden
)[mailto:address@hidden On
)Behalf Of Matthias Hüsken
)Sent: 15 February 2011 15:53
)To: address@hidden
)Subject: Use custom font's flat (b) and sharp (#) symbols for chords
)
)Hi everyone,
)
)I'm new to Lilypond and impressed with the ease of writing music and the
)quality of the output.
)
)For writing lead sheets, I changed Lilypond's standard font for printing
)chord names to a custom font. While this works perfectly, the style
)difference between the chord symbols and Lilypond's flat and sharp
)symbols is very obvious. Is there a way to make Lilypond use the custom
)font's "b" and "#"
)symbols instead of the internal ones?
)
---

Not easily. The flat and sharp glyphs are 'hard coded' as it were. 

http://lilypond.org/doc/v2.13/Documentation/notation/the-feta-font#accidental-glyphs

While LilyPond can use other specially design fonts, for instance see:

http://www.chiark.greenend.org.uk/~sgtatham/gonville/  (we do mention this in 
our Documentation but all the installation instructions are here)

This still has a hard coded glyph. It may be nearer to what you need though?

You would need to replace the specific glyph for the sharp and flat manually 
within the 'fonts' directory that is installed with LilyPond - which is what 
the above link does for its own font. I don't know how easy that would be for 
you to do - it's certainly beyond my knowledge.

Alternatively you could use the LilyPond glyph within the chordname by using 
the \flat and \sharp markup.

James





reply via email to

[Prev in Thread] Current Thread [Next in Thread]