Bug 692624 - pdf2ps produces broken PostScript output on a PDF file with Cyrillic letters
Summary: pdf2ps produces broken PostScript output on a PDF file with Cyrillic letters
Status: RESOLVED DUPLICATE of bug 692626
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Writer (show other bugs)
Version: 9.04
Hardware: PC Linux
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 17:56 UTC by Till Kamppeter
Modified: 2014-02-17 04:46 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
cyrillic.pdf (14.76 KB, application/pdf)
2011-10-21 17:56 UTC, Till Kamppeter
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***