Bug 689209

Summary: ps2pdf doesn't subset embedded bitmaps
Product: Ghostscript Reporter: Werner Lemberg <wl>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED INVALID    
Severity: normal CC: htl10
Priority: P4    
Version: 0.00   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: t42-failing-subsetting.ps.bz2

Description Werner Lemberg 2007-05-06 04:49:38 UTC
This is with gs 8.55.

The attached file displays a single Japanese glyph; however, the
resulting PDF file is a few MByte large.
Comment 1 Werner Lemberg 2007-05-06 05:17:45 UTC
Created attachment 2934 [details]
t42-failing-subsetting.ps.bz2
Comment 2 leonardo 2007-08-29 20:19:30 UTC
Passing to Ken since he handles pdfwrite from now.
Comment 3 Werner Lemberg 2008-04-08 13:55:29 UTC
This still doesn't work correctly with gs 8.61 -- the embedded bitmaps are still
not subsetted (or removed).
Comment 4 Ken Sharp 2009-03-23 07:01:40 UTC
Revision 9580, patch here:

http://ghostscript.com/pipermail/gs-cvs/2009-March/009154.html

reduces the problem by eliding certain TT tables from the output. Resolving the
problem completely will need to wait until a more general overhaul of our
TrueType handling allows us to subset TrueType fonts.
Comment 5 Michel Villeneuve 2009-08-23 03:24:56 UTC
This still doesn't work correctly with gs 8.70. the embedded bitmaps are still
not subsetted
Comment 6 Ken Sharp 2009-08-23 03:56:20 UTC
Returning to 'later'. Although the reduction in the tables reduces the problem
there still hasn't been a rewrite of TrueType font embedding, so this still has
not been addressed. It won't be until the whole issue of TT font embedding is
revisited.

Comment 7 Ken Sharp 2019-02-10 11:59:39 UTC
I've referenced this bug from the still open one for rewriting the TrueType embedding code. So I'm closing this one completely now.