[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 243 in project lilypond
From: |
codesite-noreply |
Subject: |
Issue 243 in project lilypond |
Date: |
Thu, 18 Jan 2007 10:34:12 -0800 |
Issue 243: really weird line breaks
http://code.google.com/p/lilypond/issues/detail?id=243
Comment #5 by address@hidden:
I don't really understand your comments Joe.
Line breaking algorithms always handles the last word on the line specially,
because
you don't need to take the space after that word into account when doing
justified
output.
Normally, iirc, each word is assigned two springs. The one is used if the word
is
last on the line, and the other is used if the word isn't last on line. To do
justified output the last-on-line spring is set to zero, and to do leftified
text,
the not-last-on-line spring is set to zero.
Btw, ofcourse my previous statement was simplified. Ofcourse you also look at
the
other lines, not just the shortest. trying to minimize Sum( [surplus space at
the end
of line]^3 ) gives something sensible, iirc.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
- Issue 243 in project lilypond, codesite-noreply, 2007/01/17
- Issue 243 in project lilypond, codesite-noreply, 2007/01/17
- Issue 243 in project lilypond, codesite-noreply, 2007/01/18
- Issue 243 in project lilypond, codesite-noreply, 2007/01/18
- Issue 243 in project lilypond, codesite-noreply, 2007/01/18
- Issue 243 in project lilypond,
codesite-noreply <=
- Issue 243 in project lilypond, codesite-noreply, 2007/01/18
- Issue 243 in project lilypond, codesite-noreply, 2007/01/31
- Issue 243 in project lilypond, codesite-noreply, 2007/01/31