lilypond-devel
[Top][All Lists]
Advanced

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

Re: reducing ps file size (please comment)


From: Han-Wen Nienhuys
Subject: Re: reducing ps file size (please comment)
Date: Tue, 7 Apr 2009 23:49:58 -0300

On Tue, Apr 7, 2009 at 9:25 PM, Mark Polesky <address@hidden> wrote:
> Short version: I made some changes to output-ps.scm
> that can safely reduce the file size of ps files. In
> a simple experiment, I was able to reduce non-binary
> ps-code by up to 10%. I also don't know if anyone
> cares! (: See the attachment.

The ly:format routine was created as a C++ one because we had
significant memory blowup due to the use of format routines that ran
in Scheme.  You may want to submit a simple patch to make it strip
trailing zeroes from decimals; then you get a simple reduction in file
size.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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