Skip to content

bannertopdf filter produce unreadable symbols #112

@appr0ve

Description

@appr0ve

Describe the bug
If variables contain non-latin symbols text be unreadable.

To Reproduce
Steps to reproduce the behavior:

  1. Export variables
export PPD="/usr/share/cups/model/CUPS-PDF.ppd"
export PRINTER_INFO="Информация"
export PRINTER_LOCATION="Местоположение"
  1. Run filter
/usr/lib/cups/filter/bannertopdf < /usr/share/cups/data/testprint > test.pdf
  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions