Bug 687501 - Too much white space in words of PDF generated with Ghostscript 8.14
Summary: Too much white space in words of PDF generated with Ghostscript 8.14
Status: RESOLVED DUPLICATE of bug 687297
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.14
Hardware: PC Windows 2000
: P2 normal
Assignee: Jack Moffitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 08:19 UTC by Bo Overgaauw
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Test PS and PDF files showing white space problem (26.37 KB, application/octet-stream)
2004-06-05 08:41 UTC, Bo Overgaauw
Details
Unzipped test file: test.ps (77.68 KB, application/postscript)
2004-06-05 09:26 UTC, Bo Overgaauw
Details
Unzipped test file: test.pdf (3.06 KB, application/pdf)
2004-06-05 09:27 UTC, Bo Overgaauw
Details
test2.zip: Contains PS and PDF files for other fonts with degree char. (39.77 KB, application/octet-stream)
2004-06-06 02:14 UTC, Bo Overgaauw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Overgaauw 2004-06-05 08:19:19 UTC
I could not find any trace of this problem, I hope I did not give up too early.

Documents using the Arial or Helvetica font which contain the "°" character
followed by a space in most cases causes additional white space to be added
furtheron on the same line when I convert them to PDF. Such additional white
space sometime is added between two words, but often between two characters of a
word so as to cause such word to be cut in two parts. The PDF files shows up
correct when displayed with GSview 4.6/Ghostscript 8.14, but not in any other
PDF viewer (tested with Acrobat 4, Acrobat Reader 4 and Acrobat Reader 5.1 on a
PC, and with Freehand, Adobe Illustrator and the OS-X default PDF viewer on a Mac).

I checked the PostScript file, and could not find anything wrong with it, but my
tests with various PDF viewers cause me to belief that the problem is due to the
PDF file contents, and not the viewer.

For information, all viewers that I used to print the test files I created not
only display the additional space, but also print it.

If you want me to, I can provide you with the PostScript and PDF files of the
test document I created by E-Mail or any other way that's convenient for you.
Comment 1 Alex Cherepanov 2004-06-05 08:29:08 UTC
Please re-visit the bug report and attach the sample file.
Comment 2 Bo Overgaauw 2004-06-05 08:41:49 UTC
Created attachment 701 [details]
Test PS and PDF files showing white space problem
Comment 3 Bo Overgaauw 2004-06-05 09:26:18 UTC
Created attachment 702 [details]
Unzipped test file: test.ps

I forgot to mention that my previous attachment is a ZIP file. To facilitate
analysis, attached you will find the file test.ps, the file test.pdf will
follow.

Bo
Comment 4 Bo Overgaauw 2004-06-05 09:27:53 UTC
Created attachment 703 [details]
Unzipped test file: test.pdf

This file, test.pdf, is the PDF I generated from test.ps.

    Bo
Comment 5 Alex Cherepanov 2004-06-05 11:45:06 UTC
Most likely the problem is caused by incorrect metrics of the
degree symbol in NimbusSanL-Regu (n019003l.pfb). This happens with
both v.6.0 and v.8.11 of the font.

Installation of real Helvetica fixes the problem.
Comment 6 Alex Cherepanov 2004-06-05 12:45:08 UTC
AFN line for NimbusSanL-Regu
C -1 ; WX 606 ; N degree ; B 151 383 454 686 ;

AFM line for Helvetica
C -1 ; WX 400 ; N degree ; B 54 411 346 703 ;
Comment 7 Bo Overgaauw 2004-06-05 12:59:59 UTC
Dear Mr. Cherepanov et al.,

I would not be surprised if (i) the degree symbol is not the only character for
which differences between the various Helvetica font variations exist; and (ii)
similar issues exist with the other fonts. Is there any tracking system/list
that documents all known issues of this type?

Thanks for all the help.

    Kind regards,

    Bo
Comment 8 Alex Cherepanov 2004-06-05 13:39:12 UTC
There is a super bug 687297 that tracks all issues for the new
font release. Although a few other problems have been reported
before, this is the first report of a problem in font metrics.

We really need to draw the Ghostscript fonts side by side
with the corresponding Adobe fonts and fix all the significant
differences.
Comment 9 Bo Overgaauw 2004-06-06 02:14:15 UTC
Created attachment 704 [details]
test2.zip: Contains PS and PDF files for other fonts with degree char.

This ZIP file contains the PostScript and PDF files I created from a small
document with some more test lines containing the degree character, using the
Helvetica, Helvetica Narrow, Times and Courier fonts, all in four variations:
Regular, Bold, Italic and Bold/Italic.

The degree character systematically causes problems with the Helvetica font,
not with any other font for as far as I could see.

I created two other test documents as well locally to test the "|" and "~"
characters, but did not find any problem with them.
Comment 10 Ralph Giles 2004-09-16 11:28:16 UTC
rolling this bug into the new font release task list

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