Bug 240588 - texttopaps and wrap=false
texttopaps and wrap=false
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: paps (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Akira TAGOH
:
Depends On:
Blocks: 520590
  Show dependency treegraph
 
Reported: 2007-05-18 12:38 EDT by Tim Waugh
Modified: 2009-09-01 06:05 EDT (History)
1 user (show)

See Also:
Fixed In Version: 0.6.6-20.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 520590 (view as bug list)
Environment:
Last Closed: 2007-07-05 15:19:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2007-05-18 12:38:08 EDT
Description of problem:
When using the texttopaps filter with cups, the 'wrap=false' option does not
work as expected.

Version-Release number of selected component (if applicable):
paps-0.6.6-19.fc6

How reproducible:
100%

Steps to Reproduce:
1. perl -e 'print "012345678 "x9 . "\n"' |\
   /usr/lib/cups/filter/texttopaps 1 tim '' 1 'wrap=false' > out.ps
2. evince out.ps
  
Actual results:
Two lines shown.

Expected results:
Only one line shown, with the excess columns not wrapped. (compare with 'texttops')

Additional info:
Problem report seen on the cups mailing list.
Comment 1 Akira TAGOH 2007-05-29 23:59:32 EDT
Hmm, it looks good to me. actually I can see only one line with the above
testcase and if I specify 'wrap=true' instead of 'wrap=false', I can see two lines.
Comment 2 Tim Waugh 2007-05-30 05:24:12 EDT
Did you run the test case exactly as written?  If there are no spaces in the
input you will see only one line, but if there are spaces (as in the test case
above), you will see two.
Comment 3 Akira TAGOH 2007-05-30 05:34:58 EDT
Okay, the result seems to depend on the locale (correctly probably the font). I
can confirm this with LANG=en_US now.
Comment 4 Fedora Update System 2007-06-07 11:56:23 EDT
paps-0.6.6-20.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Tim Waugh 2007-06-08 04:42:54 EDT
Fix confirmed in 0.6.6-20.fc7.  Thanks!
Comment 6 Fedora Update System 2007-07-05 15:19:01 EDT
paps-0.6.6-20.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.