bug-lilypond
[Top][All Lists]
Advanced

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

Re: setting max-stretch to a high value still leaves some space at the b


From: Reinhold Kainhofer
Subject: Re: setting max-stretch to a high value still leaves some space at the bottom
Date: Sat, 14 Jun 2008 17:19:11 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 8. Juni 2008 schrieb Nicolas Sceaux:
> Le 8 juin 08 à 16:21, Reinhold Kainhofer a écrit :
> > Can someone please explain to me how lilypond's vertical page layout
> > works?
> > In particular, I'm writing a full score with one system per page, so
> > I want that one system to exactly stretch to the full page. I'm doing this
> > by  setting max-stretch to some very high value. Unfortunately, there is
> > always some space at the bottom left free on all pages except for the
> > first one. On page 1, the system goes all the way to the margins, but
> > leave some space between the title and the system, on all other pages,
> > there is some space of 9.46 left over.
>
> Note that I'm not sure at all of what follows:
> The vertical spacing algorithm does not use all the space left when
> stretching systems, but let some part unoccupied, in case some heights
> were underestimated (and thus avoiding overful hbox), streching being
> based on extent estimations. This "security" amount is hard coded.

Thanks for the explanation. However, I regard this as a serious bug: In my 
scores with 15 staves, there is about 2-5 cm (amount varies on each page!) of 
empty space left on every single-system pages, while the page is completely 
filled for pages with multiple systems. Thus, the last staff of the systems 
doesn't align at all and the page layout looks very amateurish and with way 
too little stretching.
If I increase the paper-height, the systems are stretched (so stretching IS 
enabled), but the remaining empty space on the bottom also increases (e.g. if 
I set paper-height to 40\cm, the empty space between the last staff and the 
footer is typically somewhere between 25 and 40 staff spaces!!!).

Unfortunately, with this bug it's impossible to create good-looking (i.e. 
print-quality) full scores. 

Does anyone know how to fix this problem, or at least where to look in the 
code?

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIU+FyTqjEwhXvPN0RAnlyAJ4tKnnaUnAFPdDyi6BoWbBwy574GACgzhk6
YypUQBffEF8YunTwORIDiJI=
=m0uR
-----END PGP SIGNATURE-----




reply via email to

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