[poppler] Fwd: Too many fonts embedded in a document?

Albert Astals Cid aacid at kde.org
Sat Jun 1 06:38:26 PDT 2013


El Dissabte, 1 de juny de 2013, a les 09:23:09, Alex Korobkin va escriure:
> Hi team,
> 
> I have this nice PDF [1], which when converted to ps with the command
> $ pdftops -level3 -r 300 ./P020110106297943134404.pdf
> produces 20 Mb file with poppler 0.18.4, and 1.7 Gb (!) file with poppler
> 0.22.3
> 
> Looks like poppler 0.22.3 embeds way too many fonts:
> 
> $ grep -n CIDFontName P020110106297943134404-0.22.3.ps | wc -l
> 168
> 
> $ grep -n CIDFontName P020110106297943134404-0.18.4.ps | wc -l
> 12
> 
> Why could such a thing happen?

Probably because we introduced a regression without realizing.

> This was tested on Ubutnu 12.04, which comes with poppler 0.18.4. 0.22.3 I
> compiled myself using the same configuration switches as Canonical uses for
> 0.18.4. Is there something that I could have missed in terms of
> configuration?

Probably not, what would make sense is for you to try to find out exactly in 
which release (or even better git commit) this regression appeared.

Cheers,
  Albert

> 
> poppler-data is 0.4.5 for 0.18.4 and 0.4.6 for 0.22.3.
> 
> Your help is appreciated.
> 
> 1.
> https://docs.google.com/uc?export=download&id=0B-vV7Qx5rjpEa0Vobmlaa3hHNWM
> -Alex


More information about the poppler mailing list