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
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond