Bug 692576 - Text is shown/printed with wrong orientation
Summary: Text is shown/printed with wrong orientation
Status: NOTIFIED DUPLICATE of bug 692365
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 9.04
Hardware: PC All
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 11:43 UTC by artifex
Modified: 2011-11-18 09:49 UTC (History)
1 user (show)

See Also:
Customer: 870
Word Size: ---


Attachments
textorientation.ps (858.67 KB, application/postscript)
2011-10-10 11:43 UTC, artifex
Details
correctorientation.pdf (36.89 KB, application/pdf)
2011-10-10 12:06 UTC, artifex
Details
notcorrect.pdf (97.77 KB, application/pdf)
2011-10-10 12:07 UTC, artifex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artifex 2011-10-10 11:43:41 UTC
Created attachment 7974 [details]
textorientation.ps

Some texts of the attached Postscript-file textorientation.ps are shown with a wrong orientation when viewing the file with GS. The same effect can be seen, if the file is converted to TIFF, PDF...
If I send the file to Postscript-printers ( e.g. Ricoh-Aficio, Lexmark ... ), the Postscript-file is printed correctly.
Comment 1 Ken Sharp 2011-10-10 11:58:13 UTC
(In reply to comment #0)
> Created an attachment (id=7974) [details]
> textorientation.ps
> 
> Some texts of the attached Postscript-file textorientation.ps are shown with a
> wrong orientation when viewing the file with GS.

Can you be more specific about which text is mis-oriented ? I've compared the output with the result of creating a PDF with Adobe Acrobat Distiller and am unable to see any differences.
Comment 2 artifex 2011-10-10 12:06:54 UTC
Created attachment 7975 [details]
correctorientation.pdf
Comment 3 artifex 2011-10-10 12:07:27 UTC
Created attachment 7976 [details]
notcorrect.pdf
Comment 4 artifex 2011-10-10 12:14:00 UTC
I have attacheched two PDF-files, where you can see the differences.
In the file correctorientation.pdf you can see a table in the upper right corner.
In the 4th line in left coloumn you can see the word "Schnittstelle". In the file notcorrect.pdf this word is shown with an wrong orientation.
There are some more differences.
Comment 5 Chris Liddell (chrisl) 2011-10-10 12:26:51 UTC
This issue has already been dealt with (hence Ken's inability to see the problem). It was originally reported here:
http://bugs.ghostscript.com/show_bug.cgi?id=692365


The patch that fixed the issue is here:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2fab16

*** This bug has been marked as a duplicate of bug 692365 ***
Comment 6 artifex 2011-11-18 09:49:27 UTC
The patch works fine, when generating TIFF, Postscript etc. 
But if you generate PDF, the textorientation is still wrong!

GS-call:  gs -sDEVICE=pdfwrite -dNOPATCH -dBATCH -o out.pdf textorientation.ps