lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #2968 -dprevie


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #2968 -dpreview cuts off vertically
Date: Sat, 03 Nov 2018 12:46:57 -0000

Looks like it's the SystemStartBracket is not taken into account.

Here a workaround adjusting SystemStartBracket.Y-extent, iff 'default-toplevel-book-handler' is defined. Which currently only happens if 'lilypond-book-preamble.ly' is included.

\version "2.19.82"

\include "lilypond-book-preamble.ly"

\layout {                
  \context {
    \Score
    \override SystemStartBracket.after-line-breaking =
    #(lambda (grob)
      (if (defined? 'default-toplevel-book-handler)
          (let ((Y-off (ly:grob-property grob 'Y-extent)))
            (ly:grob-set-property! grob 'Y-extent
              (cons (- (car Y-off) 1.7) (+ (cdr Y-off) 1.7))))))
  }
}

\new StaffGroup 
  <<
  \new Staff { \clef bass g1 }
  \new Staff { \clef bass g1 }

[issues:#2968] -dpreview cuts off vertically

Status: Accepted
Created: Mon Nov 19, 2012 01:31 AM UTC by Anonymous
Last Updated: Sat Nov 03, 2018 12:08 PM UTC
Owner: nobody
Attachments:

Originally created by: *anonymous

Originally created by: address@hidden

invoking

LilyPond --png -dpreview …

with the code

\language english
\paper{
  indent=0\mm
  line-width=120\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}
\new Staff \with {
  \clef bass
  \remove Time_signature_engraver
}
{
  \key c \major
  <b d' f af>1
}

the top note is slightly cut off.

note that not all chords are cropped, s. http://lilypond.1069038.n5.nabble.com/dpreview-cuts-off-vertically-td136547.html

this looks similar to https://code.google.com/p/lilypond/issues/detail?id=268

another related issue is [#720]


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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