When converting the attached PostScript-file cjk.ps to PDF, a PDF-file is generated, which is corrupt after the 5. page. The first 5 pages are ok, the 6th page can not be viewed ( either with Ghostscript and AcrobatReader ). The PDF is generated with following command: gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -o out.pdf cjk.ps
Created attachment 4854 [details] cjk.ps
Bump to custmoer priority
Looks like the pdfwrite CFF font writing code is writing garbage under some conditions. Actually it looks like it often writes some rubbish (the name index seems always to be broken for example), but it seems that this usually doesn't matter. In this case it does. I'm still working on the problem, trying to figure out what's wrong with our existing code. This is likely to take a few more days yet to resolve.
Fixed in revision 9606, patch and log here : http://ghostscript.com/pipermail/gs-cvs/2009-March/009181.html