GNU bug report logs - #35355
27.0.50; ps-print-buffer-with-faces does not print non-ascii

Previous Next

Package: emacs;

Reported by: Jean-Christophe Helary <brandelune <at> gmail.com>

Date: Sun, 21 Apr 2019 09:03:02 UTC

Severity: normal

Merged with 41812, 42007

Found in versions 27.0.50, 28.0.50

Full log


View this message in rfc822 format

From: handa <handa <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: handa <at> gnu.org, 35355 <at> debbugs.gnu.org, brandelune <at> gmail.com
Subject: bug#35355: 27.0.50; ps-print-buffer-with-faces does not print non-ascii
Date: Mon, 29 Apr 2019 13:02:53 +0900
[Message part 1 (text/plain, inline)]
In article <83bm0zaeui.fsf <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:

> > From: Jean-Christophe Helary <brandelune <at> gmail.com>
> > Date: Sun, 21 Apr 2019 18:02:38 +0900
> > 
> > I tried to print a simple C buffer with some Japanese characters in commentsand the default printout was in b/w, but all the Japanese characters were printed out nicely.
> > 
> > Then, I tried the ps-print-buffer-with-faces command and the syntax highlighting worked fine but all the Japanese characters were replaced by ???.
> > 
> > Then, after reading the documentation a bit, I tried to
> > (setq ps−multibyte−buffer ’non−latin−printer)
> > 
> > but now the Japanese characters are totally mojibaked:
> > // $*$_$/$8$NFbMF0lMw

I can't reproduce that problem.  The attached are the sample text file
and the PS file produced by C-u M-x ps-print-buffer with
ps-multibyte-buffer being set to non-latin-printer in my environment
(emacs vesion is 27.0.50).

Please send me the PS file generated from the attached temp.txt in your
environment.

---
K. Handa
handa <at> gnu.org

[temp.txt (text/plain, inline)]
English 英語
Japanese 日本語
[temp.ps (application/postscript, attachment)]

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

Previous Next


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