lilypond-devel
[Top][All Lists]
Advanced

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

Re: Missing items to make Cairo ready


From: Jonas Hahnfeld
Subject: Re: Missing items to make Cairo ready
Date: Fri, 06 Jan 2023 10:26:39 +0100
User-agent: Evolution 3.46.2

On Thu, 2023-01-05 at 23:30 +0100, Jonas Hahnfeld via Discussions on
LilyPond development wrote:
> On Thu, 2023-01-05 at 13:24 +0000, Werner LEMBERG wrote:
> > > 
> > > IMO, working with a 35mb user manual isn't materially different
> > > from working with a 10mb user manual.  Both take a while to
> > > download.
> > 
> > Indeed, but the manuals as a whole, in all languages, get also
> > distributed, and there it *does* make a significant difference IMHO:
> > Right now, the PDFs in `lilypond-2.24.0-documentation.tar.xz` (which
> > has a size of 170MByte) need 144MByte in total (uncompressed).
> > Multiply the latter by four...
> 
> Let's look at some concrete and objective numbers here instead of just
> extrapolating - notation.pdf and also collated-files.pdf with all
> regression tests are kind of the worst case scenario for the inclusion
> of many tiny PDFs and font subsetting.
> 
> When building with gs-9.55.0 and extractpdfmark, notation.pdf and
> collated-files.pdf are 6.3MB and 4.9MB. With the Cairo backend
> (admittedly post-processed with gs-10.0.0; will have to re-run with the
> older gs version tomorrow), this increases to 14MB and 17MB - a factor
> 2.2x and 3.5x.
> For the totality of the (uncompressed) out-www/offline-root, this means
> an increase from 825MB to 898MB; when tar'ing only this directory with
> xz, the size grows from 130MB to 179MB. (Please keep in mind that our
> documentation tarball contains more than that, and is also built in a
> different environment, so numbers may and will vary).

Using cairo with gs-9.55.0 for post-processing (and with working
links), the sizes increased some more: notation.pdf is now 19M (a
factor 3x) and collated-files.pdf is 25M (a factor 5x). The size of the
uncompressed out-www/offline-root jumps to 952MB and tar'ed with xz it
is now 194MB - almost a factor 1.5x.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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