Bug 690099 - Pdf character spacing wrong with degree symbol
Summary: Pdf character spacing wrong with degree symbol
Status: RESOLVED DUPLICATE of bug 687297
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.63
Hardware: PC Windows XP
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 02:54 UTC by Jon Aldred
Modified: 2009-01-06 22:24 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Original Word document (21.50 KB, application/msword)
2008-09-29 02:58 UTC, Jon Aldred
Details
Generated postscript file (21.80 KB, application/postscript)
2008-09-29 02:59 UTC, Jon Aldred
Details
Converted pdf file (1.59 KB, application/pdf)
2008-09-29 03:01 UTC, Jon Aldred
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Aldred 2008-09-29 02:54:47 UTC
MS Word document printed to pdf via Ghostscript PDF and GSview 4.9 to convert to
pdf.  Any line which contains a degree symbol as in 17'deg'C places the C to
close to 'deg' and a space mid word elsewhere in the line.  I can provide an
example if I knew how to attach it!
Comment 1 Jon Aldred 2008-09-29 02:58:13 UTC
Created attachment 4441 [details]
Original Word document
Comment 2 Jon Aldred 2008-09-29 02:59:19 UTC
Created attachment 4442 [details]
Generated postscript file
Comment 3 Jon Aldred 2008-09-29 03:01:32 UTC
Created attachment 4443 [details]
Converted pdf file
Comment 4 Ken Sharp 2008-09-29 03:23:56 UTC
I think this may be due to the font not being embedded. When you open the file
in Acrobat, you can see the reported difference. If you open the file in
Ghostscript, however, you can't.

Now if you check the properties in Acrobat you can see that the font being used
by Acrobat is not Helvetica, its 'ArialMT'. Of course when rendered using GS,
the Helvetica font used to render the PDF file is the same as the Helvetica font
used to create the PDF file, so the two match.

Most likely the width of one of the glyphs in the string is different in the
Helvetica being used by Ghostscript and the ArialMT being used by Acrobat. Note
that pdfwrite isn't emitting a /Widths array for this font, presumably because
its a standard font, whereas Distiller does. I note also that Distiller (as
usual) re-encodes the font to WinAnsi...

At the moment I can't seem to persuade GS to embed the font for me, I'm unsure
why but I suspect this would solve the problem.
Comment 5 Alex Cherepanov 2009-01-06 22:24:20 UTC
This is yet another case of non-standard font metrics in URW fonts bundled
with Ghostscript. Ghostscript converts the file just fine when it
uses real Helvetica.

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