Bug 26776 - Don't use '\' character in PostScript names
Summary: Don't use '\' character in PostScript names
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 08:47 UTC by Adrian Johnson
Modified: 2010-02-27 04:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF file (205.07 KB, application/download)
2010-02-26 08:48 UTC, Adrian Johnson
Details
Patch to fix this bug (841 bytes, patch)
2010-02-26 08:49 UTC, Adrian Johnson
Details | Splinter Review

Description Adrian Johnson 2010-02-26 08:47:35 UTC
The attached PDF file after conversion to PS using pdftops fails to print on a LaserJet 4050. The printer error message is:

ERROR: undefined
OFFENDING COMMAND: \

The problem is the use of the '\' character in PostScript names. The Type 3 font contains a definition for each ASCII character with the name '/x' where 'x' is the ASCII character. Printing fails to the '/\' name for the backslash character. The backslash should be escaped.
Comment 1 Adrian Johnson 2010-02-26 08:48:21 UTC
Created attachment 33589 [details]
PDF file
Comment 2 Adrian Johnson 2010-02-26 08:49:13 UTC
Created attachment 33590 [details] [review]
Patch to fix this bug

Patch to fix this bug.
Comment 3 Albert Astals Cid 2010-02-27 04:14:25 UTC
Thanks will be in next 0.13.x version (probably released today/tomorrow)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.