https://bugzilla.redhat.com/show_bug.cgi?id=1694997
Bug ID: 1694997 Summary: paps converts normal text to bold in pdf and unable to search in converted pdf. Product: Fedora Version: 30 Hardware: x86_64 OS: Linux Status: NEW Component: paps Severity: medium Assignee: tagoh@redhat.com Reporter: spathare@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, tagoh@redhat.com Target Milestone: --- Classification: Fedora
Created attachment 1550924 --> https://bugzilla.redhat.com/attachment.cgi?id=1550924&action=edit pdf screen capture converted using paps
Description of problem: - If we convert a text file to pdf all text from text file is shown as bold in pdf - Unable to search in converted pdf - Search and cross icon overlaps in converted pdf
Version-Release number of selected component (if applicable): - paps-0.6.8-43.fc30.x86_64
How reproducible: Always
Steps to Reproduce: 1. Login to fedora 2. Open terminal 3. Create text file abc.txt containing some normal and bold text 4. Convert abc.txt to pdf using paps abc.txt > a.pdf 5. Open pdf using evince a.pdf 6. Observe the text in pdf 7. try to search in pdf and observe search icon
Actual results: - All text shown as bold in pdf - Unable to seach in converted pdf - Search and cross icon overlapps
Expected results: - Text should render as same format from text file - will able to search
Additional info: - Attached screen captured
https://bugzilla.redhat.com/show_bug.cgi?id=1694997
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(spathare@redhat.c | |om)
--- Comment #1 from Akira TAGOH tagoh@redhat.com --- Please attach the test case that can reproduce this.
https://bugzilla.redhat.com/show_bug.cgi?id=1694997
sachin spathare@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(spathare@redhat.c | |om) |
--- Comment #2 from sachin spathare@redhat.com --- Hi, Follow the steps to reproduce, and use attached abc.txt as input at 4th steps
https://bugzilla.redhat.com/show_bug.cgi?id=1694997
--- Comment #3 from sachin spathare@redhat.com --- Created attachment 1551753 --> https://bugzilla.redhat.com/attachment.cgi?id=1551753&action=edit text file for reproducing bug
https://bugzilla.redhat.com/show_bug.cgi?id=1694997
--- Comment #4 from Akira TAGOH tagoh@redhat.com --- BTW paps is a tool to convert a plain text to PostScript format. so:
(In reply to sachin from comment #0)
- Create text file abc.txt containing some normal and bold text
I'm wondering how a plain text contains both normal and bold text?
- Convert abc.txt to pdf using paps abc.txt > a.pdf
That isn't a pdf. if you want to see it in pdf, you can do paps abc.txt | ps2pdf - > a.pdf
Actual results:
- All text shown as bold in pdf
No, actually it isn't bold. try to see difference: paps --font "Monospace Bold 12" abc.txt > b.ps
- Unable to seach in converted pdf
Again, that isn't a pdf.
- Search and cross icon overlapps
Expected results:
- Text should render as same format from text file
It does.
- will able to search
No, that feature isn't supported in PostScript. so not a bug.
i18n-bugs@lists.fedoraproject.org