Created attachment 31043 [details] PDF testcase When converting PDF to PS, if /Length3 of a Type 1 FontFile is not zero the fixed-content from the embedded font in the PDF should be used instead of outputting the generic 512 zeros and "cleartomark". Some Type 1 fonts have some additional PostScript after the cleartomark. This should be included in the PS output. The attached PDF file from OpenOffice contains the Nimbus Roman Type 1 font. This fixed-content portion of the font is included and /Length3 is not 0. After converting to PS with pdftops the last few lines of the font in the PS output are: 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark %%EndResource it should be: 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndResource
Created attachment 31044 [details] [review] patch Patch to fix this.
Commited, as we spoke in IRC this is more a "doing it really right" thing that anything that really solves any rendering problem, so i've just commited it to master.
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.