Bug 691906 - Regression: quotes replaced by accented i
Summary: Regression: quotes replaced by accented i
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Regression (show other bugs)
Version: master
Hardware: PC All
: P2 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 18:16 UTC by Marcos H. Woehrmann
Modified: 2012-04-12 17:13 UTC (History)
0 users

See Also:
Customer: 353
Word Size: ---


Attachments
Simplified sample file (169.81 KB, application/pdf)
2011-06-03 16:46 UTC, Alex Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2011-01-24 18:16:07 UTC
The customer reports and I've verified that when the attached PDF file is converted by Ghostscript head (r12049) and 9.00 the quote marks around the words "kick-in" are replaced by accented i characters.  The file opens as expected with Acrobat 10.0.0 and Apple Preview 5.0.3.

Older versions of Ghostscript open the file correctly; this regression started with r10575:

r10575 | alexcher | 2010-01-02 10:45:15 -0800 (Sat, 02 Jan 2010) | 16 lines

Implement symbolic glyph mapping as described in PDF 1.7. Use it for TrueType
fonts with symbolic flag set or having no encoding entry.



The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm ./8.0.202.109_dci_name_0002_2.pdf
Comment 1 Marcos H. Woehrmann 2011-01-24 18:16:39 UTC
Created attachment 7149 [details]
8.0.202.109_dci_name_0002_2.pdf
Comment 2 Alex Cherepanov 2011-06-03 16:45:08 UTC
PDF font descriptor has 3 attributes that affect whether the TT font
is processed as symbolic one. The spec is not clear what to do when
the attributes conflict. This revision considers fonts that have
/WinAnsiEncoding or /MacRomanEncoding as non-symbolic regardless of
the flags.

See:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=636788a8e6d2133a7e3294ee4e1b573c64e1254a

Regression testing shows no differences. We need to add a 
simplified sample file to the regression suite.
Comment 3 Alex Cherepanov 2011-06-03 16:46:08 UTC
Created attachment 7562 [details]
Simplified sample file