Bug 19747 - Generates invalid Postscript on a given file
Summary: Generates invalid Postscript on a given file
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-26 11:49 UTC by Albert Astals Cid
Modified: 2015-07-03 18:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
The said file (160.69 KB, application/pdf)
2009-01-26 11:50 UTC, Albert Astals Cid
Details
Embed Type1 fonts to PostScript files correctly (3.38 KB, patch)
2015-06-24 12:32 UTC, Marek Kasik
Details | Splinter Review

Description Albert Astals Cid 2009-01-26 11:49:55 UTC
The attached file generates Postscript that is not liked by gs.

This is an up-upstream report from https://bugs.kde.org/show_bug.cgi?id=182016
Comment 1 Albert Astals Cid 2009-01-26 11:50:20 UTC
Created attachment 22253 [details]
The said file
Comment 2 Albert Astals Cid 2009-09-20 14:56:24 UTC
The problem seems to be that the embedded font Type 1 is not understood by gs while freetype does understand it
Comment 3 Marek Kasik 2015-06-24 12:32:46 UTC
Created attachment 116690 [details] [review]
Embed Type1 fonts to PostScript files correctly

The problem here is similar to the one from #69717. The embedded Type1 font is in PFB format and includes PFB headers which are not removed before embedding the font again to the resulting PostScript file.
Attached patch recognises that the font contains PFB headers and doesn't include them in the conversion.
Comment 4 Albert Astals Cid 2015-07-03 18:14:55 UTC
5 year old bug fixed! awesome :)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.