[reportlab-users] How to make smaller PDF?

Andy Robinson reportlab-users@reportlab.com
Fri, 23 Jul 2004 08:33:09 +0100


> PDFs I make here are ~24kb for the first page, and that includes a logo.
> Subsequent pages are only a few kb each. If I use any custom PostScript
> fonts, the size goes up massively (IIRC, about 700Kb for the first
> page). It appears that ReportLab does not subset the embedded font, and
> an entire PostScript font is not small so this would explain it.

Yes, but we only include a font once per file.  50kb for each of 4 fonts
is a big overhead on a 2-page invoice but not a problem for a 1000-page
manual.

- Andy