[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Benefits of Cairo backend over Ghostscript for PDF
From: |
Han-Wen Nienhuys |
Subject: |
Re: Benefits of Cairo backend over Ghostscript for PDF |
Date: |
Sun, 19 Mar 2023 12:56:38 +0100 |
On Sat, Mar 18, 2023 at 1:15 PM Jean Abou Samra <jean@abou-samra.fr> wrote:
> > It is possible to avoid this waste by using a
> > graphics package implemented in pure TEX (such
> > as TikZ) or using METAPOST (for which there is
> > special support in dvips, dvipdfm(x) and pdfTEX to
> > avoid font and glyph duplication). The package ps-
> > frag doesn’t suffer from this problem either if the
> > EPS files don’t contain any fonts embedded.
> > *There is no need to pay attention to this tweak,
> > because pdfsizeopt.py unifies font subsets.*
>
> I haven't tried it and don't want to (this topic is too emotional for me
> right now), but if anyone is interested in reducing the size of doc PDFs when
> generated with the Cairo backend, this tool could be worth exploring.
See
https://lists.gnu.org/archive/html/lilypond-devel/2023-01/msg00094.html
You could only use this tool if you did some serious refactoring of
the Cairo PDF generation.
--
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen