Bug 689310 - Offset between text and outline in pdfwrite.dev
Summary: Offset between text and outline in pdfwrite.dev
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: 8.57
Hardware: PC Linux
: P2 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 06:29 UTC by Marcos H. Woehrmann
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer: 411
Word Size: ---


Attachments
pipo.eps (263.37 KB, image/x-eps)
2007-06-29 06:29 UTC, Marcos H. Woehrmann
Details
pipo_distiller.pdf (6.74 KB, application/pdf)
2007-06-29 06:30 UTC, Marcos H. Woehrmann
Details
screenshot.png (17.99 KB, image/png)
2007-06-29 06:31 UTC, Marcos H. Woehrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2007-06-29 06:29:19 UTC
The customer reports and I've verified that converting the attached EPS file to
PDF via -sDEVICE=pdfwrite produces a PDF file that is rendered differently in
Ghostscript than a file converted from EPS to PDF via Distiller .  Specifically
there is an offset in the text interior vs. the outline.

I've attached the original EPS file, the PDF generated by Acrobat Distiller, and
a screenshot showing the output from Ghostscript.

The command line I used to generate the PDF:

  bin/gs -sDEVICE=pdfwrite -sOutputFile=pipo_ghostscript.pdf ./pipo.eps

And to view the PDFs:

  bin/gs -r1000 ./pipo_ghostscript.pdf
  bin/gs -r1000 ./pipo_distiller.pdf

The customer reported this with 8.57, but head (r8085) output is identical.
Comment 1 Marcos H. Woehrmann 2007-06-29 06:29:48 UTC
Created attachment 3090 [details]
pipo.eps
Comment 2 Marcos H. Woehrmann 2007-06-29 06:30:29 UTC
Created attachment 3091 [details]
pipo_distiller.pdf
Comment 3 Marcos H. Woehrmann 2007-06-29 06:31:10 UTC
Created attachment 3092 [details]
screenshot.png
Comment 4 Ray Johnston 2007-07-03 10:12:49 UTC
The problem is seen at 300, 600 and 720 dpi from the original EPS.

Since the pdfwrite device defaults to 720 dpi, it is _NOT_ a PDF problem,
but something else (font or graphics library precision?)
Comment 5 leonardo 2007-08-29 19:55:08 UTC
Passing to Ken since he handles pdfwrite from now.
Comment 6 leonardo 2007-09-14 03:09:40 UTC
The bug Bug 688007 "cjk bold fonts printed many times" shows a similar problem, 
which may be addressed as an idiom recognition.
Comment 7 Ken Sharp 2007-10-02 00:42:52 UTC
Patch http://ghostscript.com/pipermail/gs-cvs/2007-October/007845.html resolves
the issue.