Red Hat Bugzilla – Bug 240588
texttopaps and wrap=false
Last modified: 2009-09-01 06:05:44 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):
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
Two lines shown.
Only one line shown, with the excess columns not wrapped. (compare with 'texttops')
Problem report seen on the cups mailing list.
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.
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.
Okay, the result seems to depend on the locale (correctly probably the font). I
can confirm this with LANG=en_US now.
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.
Fix confirmed in 0.6.6-20.fc7. Thanks!
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.