bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1853 in lilypond: EPS backend adds small extra padding on the righ


From: lilypond
Subject: Issue 1853 in lilypond: EPS backend adds small extra padding on the right (~0.5-1 mm)
Date: Tue, 30 Aug 2011 16:06:40 +0000

Status: Accepted
Owner: ----
Labels: Type-Other

New issue 1853 by address@hidden: EPS backend adds small extra padding on the right (~0.5-1 mm)
http://code.google.com/p/lilypond/issues/detail?id=1853

All snippets processed through lilypond-book set an explicit line-with (with padding on the left to account for the bar numbers). However, the resulting cropped images and PDF files are 0.5-1mm larger than the line-width.

To account for this, lilypond-book for now artificially reduced the line-with by 1mm. See also the code review:
http://codereview.appspot.com/4940043/#msg3

Once lilypond creates tighter cropped images, this additional fudge should be removed again.

The following example (processed as "lilypond test.ly") creates pdf files with a width of 160.161mm:

\include "lilypond-book-preamble.ly"
#(ly:set-option 'backend 'eps)

\paper {
  indent = 0\mm
  line-width = 160\mm
}


\layout {
  \context { \Score
    \remove "Bar_number_engraver"
  }
}

\repeat unfold 50 { c'4 }





reply via email to

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