[poppler] Fwd: Too many fonts embedded in a document?
William Bader
williambader at hotmail.com
Sat Jun 1 12:02:09 PDT 2013
Are you sure that the problem is fonts?Does the smaller file look correct when you view it?A number of output errors were fixed around the time of 0.18 by falling back to rasterization in more cases.If you change -r 300 to -r 72, does the output get a lot smaller?Your file might have an example of a PDF feature that pdftops needs to rasterize and 0.18 might have produced a non-rasterized image that is subtly incorrect.In the current version of poppler, you could try looking at PSOutputDev::checkPageSlice to check whether your file triggers rasterization through the line rasterize = scan->usesTransparency() || scan->usesPatternImageMask();William
> From: cloos at jhcloos.com
> To: korobkin+pp at gmail.com
> Date: Sat, 1 Jun 2013 13:27:00 -0400
> CC: poppler at lists.freedesktop.org
> Subject: Re: [poppler] Fwd: Too many fonts embedded in a document?
>
> >>>>> "AK" == Alex Korobkin <korobkin+pp at gmail.com> writes:
>
> AK> I have this nice PDF [1], which when converted to ps with the
> AK> command $ pdftops -level3 -r 300 ./P020110106297943134404.pdf
> AK> produces 20 Mb file with poppler 0.18.4, and 1.7 Gb (!) file with
> AK> poppler 0.22.3
>
> Using poppler master a57f93780de1, pdftocairo -ps generates a 3.73GB
> file and pdftops -level3 a 1.05GB file.
>
> A git bisect would be interesting.
>
> -JimC
> --
> James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130601/b817f294/attachment.html>
More information about the poppler
mailing list