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

Re: PDF files and dh_compress



> > * Although there is  a way to view pdf.gz without explicit decompression
> >   (use see or xzpdf) it is inconvenient for being used from firefox for
> >   instance (?)

> Could you point us to a bug report ? firefox being a web browser is likely
> to be used to download .pdf.gz files from non-Debian source, so changing
> Debian practice will not remove the need for that support.
I am not sure if there is a bugreport - I didn't check for it -- just
tried to open few pdf.gz before it annoyed me enough to think about
doing smth about it
Indeed it might be worth checking in depth for possibility to make it
work in firefox

> >   or in dev reference or best practices. Also I believe neither lintian
> >   nor linda warns about present pdf or pdf.gz files
> I would not mind letting the maintainer decide whether compressing the
> PDF in the package will achieve a significant saving (policy 12.3 says:
> ... unless it is small), whether the package work with compressed PDF
> etc.
Sure we can leave it up to a subjective decision of the maintainer.

> Is that correct ?
yeap
> Total uncompressed PDF: 299M+153M=452M
> Total   compressed PDF: 299M-50M =244M
> Compression ratio: (452-244)/452= 46%
> A stat I would like to see is the compression ratio for the 
> PDF that are shipped compressed compared to the compression ratio for the 
> PDF that are shipped uncompressed.
by compressed do mean gzipped or compressed internally?


> > Now the questions are:
> > * Should we enforce the single way (pdf vs pdf.gz), or keep as it is now
> >   without any agreement and up to the maintainer?
> 46% is sufficient for making compression worthwhile in my opinion.
on my box for those 83M of pdfs I also have 328M of html files... may be
we should ship tarballs of htmls, or may be ship them within cramfs
images? ;-) It is a bad comparison of cause but I think that the penalty
of uncompressed PDFs is much small comparred to the other factors. On
the other hand it makes their viewing much smoother/easier

Since not many DDs got interested, probably everything would get left at
the current stage ... I just would ship PDFs in my packages uncompressed
so people could easily read documentation whenever they intended to do
so by installing -doc packages
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]


Attachment: pgpXBdJTnWzRz.pgp
Description: PGP signature


Reply to: