bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1691 in lilypond: Ugly bars in PDF documents


From: lilypond
Subject: Re: Issue 1691 in lilypond: Ugly bars in PDF documents
Date: Fri, 12 Aug 2011 21:35:24 +0000


Comment #32 on issue 1691 by percival.music.ca: Ugly bars in PDF documents
http://code.google.com/p/lilypond/issues/detail?id=1691

I can break your 2.05 "solution" with the following example.

The problem is that line-width is NOT the same thing as the width of the image. Until that is addressed, you're stuck with picking random values that are big enough for "reasonable" line widths. That's do-able for bar numbers, but how large do you want to hard-code an instrument name? Always reserve 5cm in case somebody wants to write "Clarinet in B flat" all on one line? that'll look silly if somebody doesn't use any instrument name. Always reserve 2cm, and document that nobody is allowed to use longer instrument names inside lilypond-book? Tell people they need to manually set an indent=0 or 3 or 10\cm depending on their instrument name?

-----------

\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
@setfilename LineTest
@settitle PhilTest
@afourpaper

Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.

@lilypond[relative=2]
\repeat unfold 100 { c4 }
@end lilypond

Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.

@lilypond[relative=2]
\set Score.currentBarNumber = 99999999
\repeat unfold 100 { c4 }
@end lilypond

Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.

@bye




reply via email to

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