OpenPrinting / OpenPrinting/libcupsfilters
bannertopdf filter produce unreadable symbols
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17
- Forks
- 71
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 13
Description
Describe the bug
If variables contain non-latin symbols text be unreadable.
To Reproduce
Steps to reproduce the behavior:
- Export variables
export PPD="/usr/share/cups/model/CUPS-PDF.ppd"
export PRINTER_INFO="Информация"
export PRINTER_LOCATION="Местоположение"
- Run filter
/usr/lib/cups/filter/bannertopdf < /usr/share/cups/data/testprint > test.pdf
- Open pdf file
Expected behavior
Cyrillic symbols shown correct and readable.
System Information:
- OS: gnu/linux
- Version 2.0.1
Additional context
This bug reproducing in test page print with cups.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the /usr/lib/cups/filter/bannertopdf command, the supplied PPD and testprint input, then inspect how PRINTER_INFO and PRINTER_LOCATION are handled. Done means the generated test.pdf displays the supplied Cyrillic values correctly and readably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100