]> git.donarmstrong.com Git - lilypond.git/commit
Dont emit \space glyph as empty page number
authorKnut Petersen <knut_petersen@t-online.de>
Tue, 22 Dec 2015 09:10:50 +0000 (09:10 +0000)
committerJames Lowe <pkx166h@gmail.com>
Mon, 28 Dec 2015 09:03:52 +0000 (09:03 +0000)
commitd5bc965bceff7f08e1419bc73c039f395b4498d2
tree4e4972661c43bae368ea84ece52d446e40d56e3b
parentd9e5d62a3028e1b5e2ee150cc40d375599c98538
Dont emit \space glyph as empty page number

Werner L reported in 2012 that LP
emits a space glyph referencing
the century schoolbook font at the
top of every page.

If you use gs (old and current) or
pdfcrop to crop output with multiple
pages and print-page-number = ##f
there is excessive white space at the
top of even pages.

ghostscript should handle that better
but a recent gs bug report
http://bugs.ghostscript.com/show_bug.cgi?id=696445
was closed as "WONTFIX".

There is a workaround within lilypond:

\paper {
    [...]
    oddHeaderMarkup = \markup \null
    evenHeaderMarkup = \markup \null
}

Changing " " to "" cured the problem
and appears to have no negative side
effects. Bounding boxes are affected
by this patch certainly so will have
effects in situations where snippets
are used by other third party
programs.
ly/titling-init.ly