Bug 588748

Summary: Additional dashes printed in PDF documents
Product: [Community] Publican Reporter: Andrew Beekhof <abeekhof>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jfearn, mmcallis, nb, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-04 21:55:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Beekhof 2010-05-04 12:43:23 UTC
Description of problem:

Spaces in <screen> elements are expanded into unicode 0xA0 (nbsp) + 0xAD (soft hyphen).
When fop sees a following unicode 2D '-', the soft hyphen is printed.

so <screen> command --help -?</screen> actually comes out as "command ---help --?".


Version-Release number of selected component (if applicable):

1.6.1 and 1.6.2
1.1 did not have this problem. For now I have downgraded.

How reproducible:

Always
Have tested with custom and default brands.

Steps to Reproduce:
1. In a document, add <screen> command --help -?</screen>
2. Build the pdf version of the document
3. Open pdf
  
Actual results:

Text displayed as "command ---help --?".

Expected results:

Text displayed as "command --help -?".


Additional info:

Name        : fop                          Relocations: (not relocatable)
Version     : 0.95                              Vendor: Fedora Project
Release     : 4                             Build Date: Sat 25 Jul 2009 08:36:01 PM CEST

Comment 1 Jeff Fearn 🐞 2010-05-04 21:55:29 UTC

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