Bug 692624

Summary: pdf2ps produces broken PostScript output on a PDF file with Cyrillic letters
Product: Ghostscript Reporter: Till Kamppeter <till.kamppeter>
Component: PS WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jackie.rosen
Priority: P4    
Version: 9.04   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: cyrillic.pdf

Description Till Kamppeter 2011-10-21 17:56:51 UTC
Created attachment 8036 [details]
cyrillic.pdf

Running

pdf2ps cyrillic.pdf
gs cyrillic.ps

shows broken Cyrillic letters.

cyrillic.pdf is attached.

I am using Ghostscript 9.04 on Ubuntu Oneiric, 64-bit.

See also

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/879365
Comment 1 Till Kamppeter 2011-10-21 18:29:49 UTC
Already the simple command line

gs -sDEVICE=ps2write -sOutputFile=cyrillic.ps cyrillic.pdf

produces the broken PostScript file.
Comment 2 Till Kamppeter 2011-10-21 18:32:38 UTC
Problem only occurs with "ps2write" as output device, not with "pswrite", "pdfwrite", or "png16m".
Comment 3 Ken Sharp 2011-10-22 09:28:05 UTC
I don't see any broken letters. What I do see is that some glyphs are being replaced with the 'C' glpyh, I suspect this is encoded as CID 0 or character code 0 and so is the /.notdef, as a result its used for any glyphs which can't be found.

Since the original font is a TrueType its probably some kind of problem with the prolog and conversion to Type 42.
Comment 4 Till Kamppeter 2011-10-23 19:10:27 UTC
Bug 692626 is a similar problem, perhaps even the same.
Comment 5 Ken Sharp 2011-11-12 12:35:20 UTC

*** This bug has been marked as a duplicate of bug 692626 ***