Hi Alexander!
every now and then, I use a font for lyrics where the hyphen is quite
different from Lilypond's LyricHyphen (in particular, sometimes it's
slightly slanted). That combined with lyrics where a hyphen has to
appear looks, well, ugly. (Recent example: a repetition of part of a
word that has to be written as { ro -- sen-, ro -- sen -- rot }.)
I failed with [...]
Did anyone ever successfully try to do that, or has an idea how to
approach such a tweak?
Yes, there is a solution in my local git repository. To activate the
code you would include something like
\override Lyrics.LyricText #'font-size = #+1.5
\override Lyrics.LyricHyphen.use-markup = ##t
\override Lyrics.LyricHyphen.text = "-"
\override Lyrics.LyricHyphen #'font-size = #'1.5
\override Lyrics.LyricHyphen #'font-name = "OffenbacherSchwab OT"
\override Lyrics.LyricHyphen #'minimum-distance = #0.8
into \layout{}. It's on top of some other changes either not published
or not accepted, but I could tear it out.
Of course, you would need to rebuild lilypond as the solution requires
changes to the c++ sources.
cu,
Knut