[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 1783 in lilypond: Spaces in filenames don't work with -danti-alias
Issue 1783 in lilypond: Spaces in filenames don't work with -danti-alias-factor option
Wed, 27 Jul 2011 02:13:50 +0000
Labels: Type-Defect Priority-Low
New issue 1783 by address@hidden: Spaces in filenames don't work
with -danti-alias-factor option
Reported by Chris Snyder:
When LilyPond is called with the -danti-alias-factor option (for PNG
output), the scaling stage fails if the filename contains spaces. For
lilypond --png -danti-alias-factor=2 "Test file.ly"
GNU LilyPond 2.14.2
Processing `Test file.ly'
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Layout output to `Test file.ps'...
Converting to PNG...pngtopnm:
version information available (required by pngtopnm)
usage: pngtopnm [-verbose] [-alpha | -mix] [-background color] ...
... [-gamma value] [-text file] [-time] [pngfile]
GS exited with status: 256
[The version information warning can be ignored (I think) - it is always
displayed when generating PNG's with an anti-alias-factor, including
single-word filenames, even when it completes successfully.]
After the failed run, there are some files left over: "Test file.ps", "Test
file.png.old", and "Test".
This only happens when the filename contains spaces and
anti-alias-factor != 1. It looks like this is a simple fix - quote the
filename where pngtopnm is called in ps-to-png.scm. I'd contribute a patch,
but I'm not sure how to best quote filenames - simply adding quotes around
the filename still presents problems with filenames containing quotes.
|[Prev in Thread]
||[Next in Thread]|
- Issue 1783 in lilypond: Spaces in filenames don't work with -danti-alias-factor option,