On Sep 21, 2011, at 10:05 AM, Werner LEMBERG wrote: >>> For figured bass, the situation is different: Here we use >>> LilyPond's digit font, which is completely under our control, and >>> having accidentals fitting those digits better is a good thing. >> >> I will prepare shorter versions of accidentals. > > Thanks! > >> Would you help me with writing code that employs them? I did a >> quick glance at the code (chord-name-engraver, >> figured-bass-engraver) but i don't know where to start. > > Me neither :( > > I would like to have 48h a day, then I could afford more time for > LilyPond, learning to understand how engravers work behind the scenes. >
Hey Janek, You wouldn't need to touch the engravers. The changes would need to be made in standard-alteration-glyph-name-alist, which is found in output-lib.scm. Just sub in the glyphs you want to use. Note that this will have effects in other parts of the code (chord symbols, for example). To limit your changes to figured bass stuff, check out format-bass-figure in translation-functions.scm. The function alteration->text-accidental-markup is the one that ultimately leads to the accessing of standard-alteration-glyph-name-alist : you'd need to sub this function out with another one for the special figured bass figures. Cheers, MS _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel