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: [email protected]
> To: [email protected]
> Date: Sat, 1 Jun 2013 13:27:00 -0400
> CC: [email protected]
> Subject: Re: [poppler] Fwd: Too many fonts embedded in a document?
> 
> >>>>> "AK" == Alex Korobkin <[email protected]> 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 <[email protected]>         OpenPGP: 1024D/ED7DAEA6
> _______________________________________________
> poppler mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/poppler
                                          
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to