GNU bug report logs - #42007
ps-print encodes post-ASCII Unicode incorrectly for common characters

Previous Next

Package: emacs;

Reported by: "James P. Ascher" <jpsa <at> protonmail.com>

Date: Mon, 22 Jun 2020 17:02:01 UTC

Severity: normal

Merged with 35355, 41812

Found in versions 27.0.50, 28.0.50

Full log


Message #8 received at 42007 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "James P. Ascher" <jpsa <at> protonmail.com>
Cc: 42007 <at> debbugs.gnu.org, viniciusjl <at> ig.com.br
Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for
 common characters
Date: Mon, 22 Jun 2020 21:05:29 +0300
> Date: Mon, 22 Jun 2020 16:47:52 +0000
> From: "James P. Ascher" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> I'd like to use ps-print to print hard copies of emails from my
> colleagues, but it fails for certain common Unicode characters beyond
> the basic ASCII, rendering them as '?'.
> 
> MINIMAL EXAMPLE:
> 
> 1. New buffer with "What’s up?—Dude."
> 2. Call C-u M-x ps-print-buffer and save as test.ps
> 3. The line in question PostScript code reads:
> 
> (What?s up??Dude.) S
> 
> which renders:
> 
> "What?s up??Dude."
> 
> It should render "What’s up?—Dude."

I don't think ps-print supports non-ASCII characters beyond Latin-1,
definitely not unless you customize ps-mule and ps-bdf with
appropriate font.

Sorry.




This bug report was last modified 3 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.