-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 31. August 2009 16:52:01 schrieb Neil Puttock:
> 2. using ly:format in make-ps-images causes scaling of PNGs to fail
> for multi-page snippets:
[...]
> Here's the line which formats the filename for each PNG:
>
> 113           (pngn (format  "~a-page%d.~a" base extension))

Hmm, %d is used by the png backend as an escape sequence that is replaced with 
the actual number later on. The png backend relies on format preserving the 
%d. Of course, we could later on replace \%d by the number, but that's too 
much of a hack for me!

I've now simply remove the replacement of % by \%. gs (at least the pdfwriter 
device) doesn't properly handle files with % in the file name, so this is not 
really a problem in real life.... (plus, the !s placeholder of guile' s format 
also doesn't escape it)

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKnAzbTqjEwhXvPN0RAmVYAJ0f2fsoAtO7CittvjG9lUa3jtf1LQCgg0sO
Mi5XrI+DrGSXMjejqhu+7uM=
=3dod
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to