2011/2/21 Janek Warchoł <lemniskata.bernoull...@gmail.com>: > 2011/2/21 Han-Wen Nienhuys <hanw...@gmail.com>: >> Can you make your code be less hardcoded? I propose something like: >> >> factor = (1+abs(hp[dir])) / (2*staff_radius + 1) >> shorten *= min(factor, 1.0) > > What staff_radius is? I tried to find an explanation, but to no avail...
Look for Staff_symbol_reference::staff_radius. -- Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel