dylanroy / pdfsizeopt

Automatically exported from code.google.com/p/pdfsizeopt
0 stars 0 forks source link

Merge already subsetted fonts? #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This does not fit nicely in the template but I try.

1. Generate a file containing pictures, say with pdflatex and some latex 
graphics package. Some fonts will be included in a subsetted form.
2. Extract the pictures with tools such as pdfseparate and pdfcrop (or similar 
tools, like pdftk)
3. Include these pictures in a different document

I would expect all instances of a given font to be merged. However, only those 
whose names match EXACTLY are merged. So, if I call pdffonts on the file and 
get several instances of "DFLHBQ+Georgia CID TrueType? Identity-H yes yes yes 
346 0", after invoking pdfsizeopt there is only one.

But this does not work with different sub settings. So if I have embedded and 
subsetted "SZVXDT+Georgia" and  "EGVBUZ+Georgia" they are not merged. It would 
be nice to have an option to merge such fonts as well. (I am aware that this 
could be quite tricky.)

Original issue reported on code.google.com by roberto....@gmail.com on 10 Feb 2014 at 2:53

GoogleCodeExporter commented 8 years ago
Yes, these fonts should be merged, and if there is no bug in pdfsizeopt, it 
should already do the merging automatically.

Could you please attach a small sample input and output PDF, and also 
copy-paste what pdfsizeopt prints for you?

Original comment by pts...@gmail.com on 11 Feb 2014 at 5:22

GoogleCodeExporter commented 8 years ago
Marking the bug as Invalid until some input files are uploaded which 
demonstrate the problem.

Original comment by pts...@gmail.com on 27 Feb 2014 at 6:25