Bug 202653

Summary: Line wrapping is broken
Product: [Fedora] Fedora Reporter: Jan "Yenya" Kasprzak <kas>
Component: papsAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.6-6.fc5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-29 13:18:06 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:
Attachments:
Description Flags
Test file for line wrapping none

Description Jan "Yenya" Kasprzak 2006-08-15 18:22:45 UTC
Description of problem:
Line wrapping of PAPS is broken (and inconsistent).

Version-Release number of selected component (if applicable):
paps-0.6.6-5.fc5

How reproducible:
100%

Steps to Reproduce:
1. use the test file I will attach to this bug
2. run "paps --font 'Monospace 10' --right-margin 30 testfile.txt >testfile.ps
3. view testfile.ps
  
Actual results:
The long line is not wrapped at all spanning even over the right margin, the
long line with spaces is wrapped after the second word, but the rest spans over
the right margin, the short line is OK, but the short line with spaces at the
end is wrapped before the word "b".

Expected results:
* the line wrapping should either be off at all (at least selectable by
command-line option), or 
* the two long lines should not span over the right margin, and the second short
line (with spaces at the end) should not be wrapped.

Additional info:

Comment 1 Jan "Yenya" Kasprzak 2006-08-15 18:22:45 UTC
Created attachment 134238 [details]
Test file for line wrapping

Comment 2 Akira TAGOH 2006-08-16 01:24:06 UTC
Thanks for reminding me. actually this issue has been fixed in devel branch.
I'll let me apply that patch to FC5 too.

Comment 3 Akira TAGOH 2006-08-29 13:18:06 UTC
Fixed in 0.6.6-6.fc5.