Bug 857592
Summary: | ASCII text files are not printed the same as ASCII C++ text files: tab characters and white space are not preserved. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Greta Watson <greta_watson> | ||||
Component: | paps | Assignee: | Akira TAGOH <tagoh> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | i18n-bugs, jpopelka, tagoh, twaugh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | paps-0.6.8-22.fc18 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-10-16 09:21:03 UTC | Type: | Bug | ||||
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
Greta Watson
2012-09-15 02:35:38 UTC
What does 'rpm -q paps' say? $ rpm -q paps paps-0.6.8-17.fc16.x86_64 If you remove that package, do you get better or worse results? Nothing prints, and I get the error message: There is a missing print filter for printer 'HP-Printer'. When I re-install the package, it again prints, but with the wrong formatting. Tab characters are still converted into a single space. Spaces seem to be preserved at this point. This bug has been around for a while. I just got tired of having to write scripts to get around the problem. C++ files don't use that package, so print okay with the package removed. OK, the problem is with the paps filter then. Changing component and reassigning. paps-0.6.8-21.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/paps-0.6.8-21.fc18 paps-0.6.8-21.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/paps-0.6.8-21.fc17 paps-0.6.8-21.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/paps-0.6.8-21.fc16 Package paps-0.6.8-21.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing paps-0.6.8-21.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14538/paps-0.6.8-21.fc18 then log in and leave karma (feedback). paps-0.6.8-21.fc17 did not fix the issue. I updated today, tested, and left karma. Tabs are still treated as a single blank, so the fix did not work. The same .txt file, renamed as a .c file prints properly. If I don't rename the .txt file, but put two slashes as the first two characters, the file prints properly. It seems that ASCII text files should not need to use paps. They should be treated the same as .c files, or as files that have two slashes as their first two characters. It works for me. can you attach simple test case and expected result? or if you didn't update paps-libs too, please do. if it's the case, I'm fixing it in next release. Created attachment 616352 [details]
ASCII text makefile with some lines having a leading tab character
ASCII text with leading tab characters on some lines.
With the addition of paps-libs-0.6.8-21.fc17, the problem has been solved. Thank-you. dunno why this bug wasn't closed even though the updated package has already been pushed to the stable. anyway closing. |