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: Trevor Daniels
Subject: Re: Issue 1691 in lilypond: Ugly bars in PDF documents
Date: Fri, 12 Aug 2011 22:07:35 +0100


QUOTE: r'''line-width = %(line-width)s - 2.0 * %(exampleindent)s''',

It's the value of exampleindent. It seems that the rationale is that if you subtract 2* the indent from the linewidth, then you get a usable linewidth. Given how close this is to correct, I was concluding the it's essentially a rounding error, so that we should go with subtracting just more than twice the indent from the linewidth.

The factor 2 in this line was introduced by Jan
on 2004-03-20 in commit bdc3b32b8cdf1300d37fe9c4966e155979d2c766:

+ QUOTE : r'''
+    linewidth = %(linewidth)s - 2.0 * %(exampleindent)s
+''',

The commit comment says

   * Documentation/user/tutorial.itely: Use quote ly-option instead
   of explicit @quotation.  This fixes too long lilypond linewidths
   resulting in overful hboxes.

So I'm with Phil here.  Either Jan didn't quite get
the factor right, or something else has changed since
then.  Let's move to 2.05.  That's the only way to
see if it introduces any subtle problems.

It's a long time for Jan to remember, but I'll copy
him in in case he does.

Trevor



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3829 - Release Date: 08/12/11




reply via email to

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