From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#41812: 28.0.50; pr-ps-... does not print certain accented characters, bust shows question marks instead Date: Sun, 14 Jun 2020 21:59:39 +0200 Message-ID: <87ftaxl8pg.fsf@no.workgroup> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48239"; mail-complaints-to="usenet@ciao.gmane.io" To: 41812@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 14 22:00:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jkYo0-000CWR-2J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 22:00:36 +0200 Original-Received: from localhost ([::1]:42910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkYny-0005dv-UO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 16:00:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkYnS-0005cA-Rw for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkYnS-0005qM-6Q for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkYnS-0007iP-0l for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 16:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2020 20:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41812 X-GNU-PR-Package: emacs Original-Received: via spool by 41812-submit@debbugs.gnu.org id=B41812.159216479229607 (code B ref 41812); Sun, 14 Jun 2020 20:00:01 +0000 Original-Received: (at 41812) by debbugs.gnu.org; 14 Jun 2020 19:59:52 +0000 Original-Received: from localhost ([127.0.0.1]:44551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkYnH-0007hT-ST for submit@debbugs.gnu.org; Sun, 14 Jun 2020 15:59:52 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:42589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkYnF-0007hG-OE for 41812@debbugs.gnu.org; Sun, 14 Jun 2020 15:59:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1592164783; bh=Dj0/2BAHM9vGspMhQuFiPiaSbw7TWJHCyfE0JbYMiO8=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=DqddJZPqkSA2yP9OyTD6/M7U2XjLqoqgVrBwbJApWw30ktXrF7Pkhy2kYcPIiT5iJ aQRxpQLZR04AMb4mxoOEgPOI014HdZ/BhwUlzaA08e/c/jMwtRElQReZFegjd16xZP vRvAEBIfgCK6HtspVoufIubWL9fOwTPz3OeQCrO4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from no.workgroup ([84.185.108.10]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M1Ycr-1jmUjM2l5f-0039SQ; Sun, 14 Jun 2020 21:59:43 +0200 In-Reply-To: X-Provags-ID: V03:K1:5O7PkpBh5QZ+TgGyePashohtdY3/ktZINw2ICuRxLtLHwqk275K r3VBclpAhr8zBk/r9ekPZF2m0WI9i5RN/2py7svzvKg1bBasMRpxIbie6weXglRpFv3qUR/ L7aAVo6NksMU8AS2hd6ICpsq21KtF8pXq4pIgh01ykM3frfKZL40all+zJgMP3cmrGcxwK8 iDtoN3KHfb0yPb7uST5Ew== X-UI-Out-Filterresults: notjunk:1;V03:K0:nw9AYBIf6+4=:10907GR3CAWnHqvYaW4b0O f7m8RXwCJ8dsnwJdob0aLnr06/IOSxnDtMnfpNghoxe17FU2pk4S2UZ7LOX8RA1YhX9qMM0wj rp/hM6RnErCwPUanb8hDSsTwzDG/Wsgc6N58jrm3avMjmSq+PjuBzIRGVoz1bOBjc1bu1BSPN DZ1baeMPa3iHwNcdgkWxLG0qk6NwXR/AuGqVO31u9RgEquupy0c63z/woAz2ypLkw0nS8g8YT ZX13qJpTCz54Zjh02wSeWjIWkIqRic/9EFWmsmIHOfgqtyS2Yi1ouRnSODYAd5vjGCUqErDh3 8JINZKZjd9vZlC3kPpKMr93BJogS/Um9zeLLCnrIZdfBlStrtvCK0fq46eCLefJo8C8Anheei OZwR1mn16kfE6+QZ4SLcpXn8FHga2iKq/pYb7cOHI7qfP3TwnQRDg9YOqg46kJeO5eoINXFgf XWhUYbl9N5NPeG/CMnf5/jjQmiEdUa/qJ95hru8sWGtXz9/kXFU+smZF4olvu+W0AQPKBKWpN dIVxyI4vYV3AM+S+BtY1XZGAAeHS8qQo/Z85JF+JedV+xcfmjE6K2TK+tL67NybQz/6HxktW1 wPxaTmRnISgYo2S/6kRSNTLzKjh2zOqeCBg94+tHJsdCxBtPVGDAcxPBTBA1DVf1QbHOSaZ9w +WTnJ4BCBaqbfO6Kj+U+orou4ZPnFEHgqYny8r8M2GMQ8ITUg19SrplyvrLr5HDfrbpsyih1T Z+ZPaMG8AAtMOonvYJbvRzUU/7wVa/dVc9B4Ng3v6qsX+icoeoguCytdrHulPoFc0DJRhOq8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181961 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Eli, Emacs developers, * Gregor Zattler [2020-06-13; 11:49]: > * Eli Zaretskii [2020-06-12; 10:30]: >>> From: Gregor Zattler >>> Date: Thu, 11 Jun 2020 21:09:55 +0200 >>> >>> when printing via ps-print-... I realized, that some >>> accented characters, namely >>> >>> - capital letter L slash >>> - small letter n acute >>> - small letter o acute >>> - small letter z acute >>> >>> are exchanged for question marks. >> This time the file with the test text is attached: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=multibyte.txt Content-Transfer-Encoding: base64 DQoNCnRlc3QgdGV4dCBmb2xsb3dzOiAgIMWBw7NkxbogIGtvxYQNCiAgICAgDQo= --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >> To make the report more easily reproducible and investigated, it is >> better to leave printing.el commands that invoke Ghostview out of the >> picture, since invoking external commands could produce other >> irrelevant issues. If you instead produce a PostScript buffer out of >> your text and look at the produced PostScript, do you see the question >> marks there, and if so, for which characters? I did emacs -Q ~/tmp/multibyte.txt --eval '(ps-spool-buffer)' then in *PostScript* there are question marks for: - capital letter L slash - small letter n acute - small letter z acute >> With the exception of o acute, the other characters aren't Latin-1, so >> I think what you see is expected. To see more characters, you need to >> customize ps-mule.el; at least ps-mule-font-info-database-default >> should be customized. Maybe you should also install GNU >> Intlfonts. I installed these. >> I suggest to read the commentary at the beginning of >> ps-mule.el for more details. Thanks. The documentation for ps-mule-font-info-database-default says, it's used if ps-multibyte-buffer is nil. So I customized ps-multibyte-buffer to 'bdf-font-except-latin and spooled again. With the same result question mark-wise. I then tried additionally ps-mule-font-info-database-default with an additional entry Symbol: utf-8 with font source bdf (I have no clue how to customize this variable). This resulted in the same 3 question marks in the *PostScript* buffer. I do not really understand how this works and how to customize it. Since my multibyte.txt file is loaded in a buffer with an "U" in the left corner of the mode line, I expected emacs to do the right thing also with regard to printing. But thanks for your help. I'll do some internet search when I have more time for this. Ciao, =2D- Gregor --=-=-=--