Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Again garbled text also with the current code base #7

Open
marlemion opened this issue Sep 21, 2021 · 0 comments
Open

Again garbled text also with the current code base #7

marlemion opened this issue Sep 21, 2021 · 0 comments

Comments

@marlemion
Copy link

Hi,

I had the patch running (manually) on Arch since a few years. But somehow, this stopped working at some point. I again get garbled text when selecting text from a cups-pdf generated pdf.

Also using your GIT directly does not help. What do I do?

yay -S cups-pdf-to-pdf-git (cf. here https://aur.archlinux.org/packages/cups-pdf-to-pdf-git)

sudo systemctl restart cups

Go to localhost:631, remove the old cups-pdf printer, add the new one using one of CUPS-PDF with or without options, install it, select it as default printer

do echo 'mama' | lp as user, open the PDF in a reader, select the text, paste it somewhere: it is not mama, but unicode character replacements.

Any hint? Thanks in advance!

PS: Sorry for double posting this here and on the AUR site.

Yarny0 added a commit to Yarny0/nixpkgs that referenced this issue Dec 9, 2022
Note that cups-pdf refuses to run without root privileges.
To use the binary, one has to either convince cups to
call it with root privileges, or install it suid root.

Also note that currently, this cups-pdf-fork produces
small pdfs with selectable text, as promised.
However, copying the text produces "garbled" text
(characters are randomly reassigned).
This is a known issue and I don't know how to fix it:

alexivkin/CUPS-PDF-to-PDF#7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant