When printing PDF files from Evince with text containing non-ASCII characters (e.g. my name), the characters outside "latin 1" range aren't printed, e.g. "Górny Michał" gets printed as "Górny Micha[space]". ghostscript-gpl-9.55.0 works fine. Printer: HP LaserJet Professional P1606dn CUPS driver: HP LaserJet Series PCL 4/5 (grayscale, 2-sided printing) (connected over network)
You’re right Sam, bug 844115 seems to be related. The sample provided in 844115 includes characters encoded on 2 bytes, and the rendering puts spaces between characters. It really looks like an encoding decoding problem.
(In reply to Guillaume Ayoub from comment #1) > You’re right Sam, bug 844115 seems to be related. The sample provided in > 844115 includes characters encoded on 2 bytes, and the rendering puts spaces > between characters. It really looks like an encoding decoding problem. OK, so I see some commits upstream which could be relevant, but it doesn't really make sense if the Arch or Fedora binaries work.. https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=506f35e174c4672678512af56e8de75e475e0301 Could one of you maybe try ghostscript's 9.57 RC?
(In reply to Sam James from comment #2) > (In reply to Guillaume Ayoub from comment #1) > > You’re right Sam, bug 844115 seems to be related. The sample provided in > > 844115 includes characters encoded on 2 bytes, and the rendering puts spaces > > between characters. It really looks like an encoding decoding problem. > > OK, so I see some commits upstream which could be relevant, but it doesn't > really make sense if the Arch or Fedora binaries work.. > > https://git.ghostscript.com/?p=ghostpdl.git;a=commit; > h=506f35e174c4672678512af56e8de75e475e0301 > > Could one of you maybe try ghostscript's 9.57 RC? I’ve tried the current master branch, it doesn’t fix the bug.
In my experience, upstream are quite friendly and may have tips to help us narrow this down.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e7e2e1e67ce3374bafba51b9cdd271f29b48d2 commit a7e7e2e1e67ce3374bafba51b9cdd271f29b48d2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-02 03:38:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-02 03:38:57 +0000 profiles: mask broken ghostscript-gpl-9.56.1 We should've done this earlier, even. Bug: https://bugs.gentoo.org/844115 Bug: https://bugs.gentoo.org/851141 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21675840cadb15ceb9e3597f43da2f199d70240a commit 21675840cadb15ceb9e3597f43da2f199d70240a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-01 06:54:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-01 06:54:40 +0000 profiles: unmask ghostscript 9.56 Closes: https://bugs.gentoo.org/844115 Closes: https://bugs.gentoo.org/851141 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 4 ---- 1 file changed, 4 deletions(-)
See https://bugs.gentoo.org/844115#c27.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22155a75b4d1b45115719ea6c1db112614b449d commit e22155a75b4d1b45115719ea6c1db112614b449d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-02 03:14:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-02 03:14:41 +0000 dev-python/weasyprint: adjust ghostscript dep I made an error in the poppler-data original fix, so depend on fixed GS again (with a fixed dep). Closes: https://bugs.gentoo.org/844115 Closes: https://bugs.gentoo.org/851141 Closes: https://bugs.gentoo.org/873889 Signed-off-by: Sam James <sam@gentoo.org> dev-python/weasyprint/weasyprint-55.0.ebuild | 2 +- dev-python/weasyprint/weasyprint-56.0.ebuild | 2 +- dev-python/weasyprint/weasyprint-56.1.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541c89d3edb13847d272b6b700fde7505830dea0 commit 541c89d3edb13847d272b6b700fde7505830dea0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-02 03:14:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-02 03:14:08 +0000 app-text/ghostscript-gpl: crank up poppler-data dep again I typo'd the paths previously. Closes: https://bugs.gentoo.org/844115 Closes: https://bugs.gentoo.org/851141 Closes: https://bugs.gentoo.org/873889 Signed-off-by: Sam James <sam@gentoo.org> ...hostscript-gpl-9.56.1-r2.ebuild => ghostscript-gpl-9.56.1-r3.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12b8ad09be64a20685b7c87fdb4dbbc2b7f8a56 commit f12b8ad09be64a20685b7c87fdb4dbbc2b7f8a56 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-02 03:12:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-02 03:13:39 +0000 app-text/poppler-data: fix extra file paths Closes: https://bugs.gentoo.org/844115 Closes: https://bugs.gentoo.org/851141 Closes: https://bugs.gentoo.org/873889 Fixes: f7d3daf96af5d450b3f983df77129c5aeac3c376 Signed-off-by: Sam James <sam@gentoo.org> app-text/poppler-data/Manifest | 2 +- .../{poppler-data-0.4.11-r1.ebuild => poppler-data-0.4.11-r2.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)