bug-lilypond
[Top][All Lists]
Advanced

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

Issue 944 in lilypond: settings for less than 1 (full) line


From: lilypond
Subject: Issue 944 in lilypond: settings for less than 1 (full) line
Date: Sun, 20 Dec 2009 19:38:55 +0000

Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Low

New issue 944 by percival.music.ca: settings for less than 1 (full) line
http://code.google.com/p/lilypond/issues/detail?id=944

Don't discuss this issue unless you're seriously willing to work on it --
putting patches, organising discussion on -devel, etc.


We set ragged-right and ragged-last for short snippets (below).  We might
also want to:
- set indent=0\mm
- set left-margin=0\mm

Some discussion here:
http://lists.gnu.org/archive/html/lilypond-devel/2009-12/msg00360.html


Info from Sven Axelsson:
Jyst FYI: the code in question is in lily/constrained-breaking.cc
in SHA 6673b8fee.

The patch looks like this:

 +  /* As a special case, if there is only one line in the score and
ragged-right
+     hasn't been specifically forbidden and the line is stretched, use
+     ragged spacing. */
+  if (last && i == 0
+      && lines_.at (i, j).force_ >= 0
+      && !scm_is_bool (pscore_->layout ()->c_variable ("ragged-right"))
+      && !scm_is_bool (pscore_->layout ()->c_variable ("ragged-last")))
+    ragged = true;

--
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




reply via email to

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