From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35355: 27.0.50; ps-print-buffer-with-faces does not print non-ascii Date: Sun, 21 Apr 2019 12:26:45 +0300 Message-ID: <83bm0zaeui.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260685"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35355@debbugs.gnu.org To: Jean-Christophe Helary , Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 21 11:28:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hI8lh-0015f3-C8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 11:28:13 +0200 Original-Received: from localhost ([127.0.0.1]:50868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI8lg-0004Uo-8U for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 05:28:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI8la-0004Uf-Em for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2019 05:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hI8lZ-0002gO-5S for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2019 05:28:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hI8lV-0002ex-VE for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2019 05:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hI8lV-0000FO-R4 for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2019 05:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Apr 2019 09:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35355 X-GNU-PR-Package: emacs Original-Received: via spool by 35355-submit@debbugs.gnu.org id=B35355.1555838826848 (code B ref 35355); Sun, 21 Apr 2019 09:28:01 +0000 Original-Received: (at 35355) by debbugs.gnu.org; 21 Apr 2019 09:27:06 +0000 Original-Received: from localhost ([127.0.0.1]:47680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hI8kc-0000Db-1m for submit@debbugs.gnu.org; Sun, 21 Apr 2019 05:27:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hI8ka-0000D3-LV for 35355@debbugs.gnu.org; Sun, 21 Apr 2019 05:27:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI8kU-00024V-9C; Sun, 21 Apr 2019 05:26:58 -0400 Original-Received: from [176.228.60.248] (port=3106 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hI8kT-0005LB-O0; Sun, 21 Apr 2019 05:26:58 -0400 In-reply-to: (message from Jean-Christophe Helary on Sun, 21 Apr 2019 18:02:38 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157934 Archived-At: > From: Jean-Christophe Helary > 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 > > so I tried 'bfd-fonts and I got a weird message about having no font for > ascii, and with 'bfd-fonts-except-latin, I'm back to ???. > > I tried the same with an elisp file and the result was the same. > > A minor issue is that the first line of the header for the ps file seems > truncated. Only the path and the date are printed. Thanks, I hope Handa-san (CC'ed) could comment on this.