bug-lilypond
[Top][All Lists]
Advanced

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

Re: lyrics dashes


From: Christian Hitz
Subject: Re: lyrics dashes
Date: Sun, 1 Jan 2006 16:18:54 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Han-Wen Nienhuys <hanwen <at> xs4all.nl> writes:

> 
> Werner LEMBERG wrote:
> >>is there a standard way to detect the hyphen position?
> > 
> > 
> > I don't think so.  Contrary to the x-height of glyphs there is no
> > necessity normally to get this value.
> > 
> > 
> >>Or should we shove "-" down pango, and take the BBox of that?
> > 
> > 
> > This sounds like an excellent idea, since we not only get the right
> > position but the correct thickness too.
> > 
> > BTW, is it possible to use the font's dash glyph itself?  In some
> 
> I guess it is, but will require slight rehacking.
> 

The behavior described by Werner has a much greater effect if the lyrics
are scaled as in the example below.

\version "2.7.25"

\score{
<<
        \context Voice = "sing" {
                c''2 c''
        }
        
        \new Lyrics \lyricsto "sing" \lyricmode { 
                \override LyricText #'font-size = #5
                x- -- -x }
>>
\layout {
        raggedright = ##t
}
}

Christian






reply via email to

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