From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Postscript Print Buffer Date: Tue, 29 Mar 2005 01:37:03 +0200 Message-ID: <5fce9e21488704f5deee406f0170a75c@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1112053235 19236 80.91.229.2 (28 Mar 2005 23:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 23:40:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 01:40:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DG3qG-0000Ot-Lr for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2005 01:40:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG46S-0003JS-0J for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Mar 2005 18:57:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DG469-0003IT-44 for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 18:56:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DG463-0003FQ-HR for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 18:56:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG463-0003D9-5S for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 18:56:39 -0500 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DG3nA-0008Nh-Di for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 18:37:08 -0500 Original-Received: from [84.245.189.179] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DG3n8-00071r-00; Tue, 29 Mar 2005 01:37:06 +0200 Original-To: help-gnu-emacs X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25246 Hello! In Emacs 22.0.50 from CVS and in 21.3.50 it works to print a buffer=20 contents with diacritics when this buffer is in Unicode or it's the=20 Holidays or Calendar buffer that do not explain in which mood they are.=20= The =E2=82=AC I can't see because no regular PostScript font has it. Buffers in most Latin scripts are *not* correctly printed in PS when=20 they contain diacritics. I have a text file with this in its header ";;; -*- mode: Text; coding:=20= utf-8; -*-" that displays in GNU Emacs of course in UTF-8. This file=20 contains the Adobe Standard Encoding in that kind: ; oct dec hex UTF8 ;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D 40 =3D 32 =3D 20 =3D 20 =3D U+0020 : SPACE ! =3D 41 =3D 33 =3D 21 =3D 21 =3D U+0021 : EXCLAMATION MARK When I print this buffer the following characters are not printed: =E2=81=84 =3D 244 =3D 164 =3D A4 =3D E28184 =3D U+2044 : FRACTION SLASH =C6=92 =3D 246 =3D 166 =3D A6 =3D C692 =3D U+0192 : LATIN SMALL LETTER = F WITH HOOK =E2=80=9C =3D 252 =3D 170 =3D AA =3D E2809C =3D U+201C : LEFT DOUBLE = QUOTATION MARK =E2=80=B9 =3D 254 =3D 172 =3D AC =3D E280B9 =3D U+2039 : SINGLE = LEFT-POINTING ANGLE=20 QUOTATION MARK =E2=80=BA =3D 255 =3D 173 =3D AD =3D E280BA =3D U+203A : SINGLE = RIGHT-POINTING ANGLE=20 QUOTATION MARK =EF=AC=81 =3D 256 =3D 174 =3D AE =3D EFAC81 =3D U+FB01 : LATIN SMALL = LIGATURE FI =EF=AC=82 =3D 257 =3D 175 =3D AF =3D EFAC82 =3D U+FB02 : LATIN SMALL = LIGATURE FL =E2=80=93 =3D 261 =3D 177 =3D B1 =3D E28093 =3D U+2013 : EN DASH =E2=80=A0 =3D 262 =3D 178 =3D B2 =3D E280A0 =3D U+2020 : DAGGER =E2=80=A1 =3D 263 =3D 179 =3D B3 =3D E280A1 =3D U+2021 : DOUBLE DAGGER =E2=80=A2 =3D 267 =3D 183 =3D B7 =3D E280A2 =3D U+2022 : BULLET =E2=80=9A =3D 270 =3D 184 =3D B8 =3D E2809A =3D U+201A : SINGLE LOW-9 = QUOTATION MARK =E2=80=9E =3D 271 =3D 185 =3D B9 =3D E2809E =3D U+201E : DOUBLE LOW-9 = QUOTATION MARK =E2=80=9D =3D 272 =3D 186 =3D BA =3D E2809D =3D U+201D : RIGHT DOUBLE = QUOTATION MARK =E2=80=A6 =3D 274 =3D 188 =3D BC =3D E280A6 =3D U+2026 : HORIZONTAL = ELLIPSIS =E2=80=B0 =3D 275 =3D 189 =3D BD =3D E280B0 =3D U+2030 : PER MILLE SIGN =CB=86 =3D 303 =3D 195 =3D C3 =3D CB86 =3D U+02C6 : MODIFIER LETTER = CIRCUMFLEX ACCENT =CB=9C =3D 304 =3D 196 =3D C4 =3D CB9C =3D U+02DC : SMALL TILDE =CB=98 =3D 306 =3D 198 =3D C6 =3D CB98 =3D U+02D8 : BREVE =CB=99 =3D 307 =3D 199 =3D C7 =3D CB99 =3D U+02D9 : DOT ABOVE =CB=9A =3D 312 =3D 202 =3D CA =3D CB9A =3D U+02DA : RING ABOVE =CB=9D =3D 315 =3D 205 =3D CD =3D CB9D =3D U+02DD : DOUBLE ACUTE = ACCENT =CB=9B =3D 316 =3D 206 =3D CE =3D CB9B =3D U+02DB : OGONEK =CB=87 =3D 317 =3D 207 =3D CF =3D CB87 =3D U+02C7 : CARON =E2=80=94 =3D 320 =3D 208 =3D D0 =3D E28094 =3D U+2014 : EM DASH =C5=81 =3D 350 =3D 232 =3D E8 =3D C581 =3D U+0141 : LATIN CAPITAL = LETTER L WITH=20 STROKE =C5=92 =3D 352 =3D 234 =3D EA =3D C592 =3D U+0152 : LATIN CAPITAL = LIGATURE OE =C4=B1 =3D 365 =3D 245 =3D F5 =3D C4B1 =3D U+0131 : LATIN SMALL LETTER = DOTLESS I =C5=82 =3D 370 =3D 248 =3D F8 =3D C582 =3D U+0142 : LATIN SMALL LETTER = L WITH STROKE =C5=93 =3D 372 =3D 250 =3D FA =3D C593 =3D U+0153 : LATIN SMALL = LIGATURE OE Using an ISO-Latin 9/ISO 8859-15 buffer with this string in its header=20= ";;; -*- mode: Text; coding: iso-8859-15; -*-" the following characters=20= are not shown: =E2=82=AC =3D 244 =3D 164 =3D A4 =3D U+20AC : EURO SIGN = ; not in PS =C5=A0 =3D 246 =3D 166 =3D A6 =3D U+0160 : LATIN CAPITAL LETTER S WITH = CARON =C5=A1 =3D 250 =3D 168 =3D A8 =3D U+0161 : LATIN SMALL LETTER S WITH = CARON =C5=BD =3D 264 =3D 180 =3D B4 =3D U+017D : LATIN CAPITAL LETTER Z WITH = CARON =C5=BE =3D 270 =3D 184 =3D B8 =3D U+017E : LATIN SMALL LETTER Z WITH = CARON =C5=92 =3D 274 =3D 188 =3D BC =3D U+0152 : LATIN CAPITAL LIGATURE OE =C5=93 =3D 275 =3D 189 =3D BD =3D U+0153 : LATIN SMALL LIGATURE OE =C5=B8 =3D 276 =3D 190 =3D BE =3D U+0178 : LATIN CAPITAL LETTER Y WITH = DIAERESIS I did PS print the buffers into the CUPS. My printer was not on so I=20 had time to convert the print jobs with ps2pdf14, based on gs 8.14,=20 into PDF which I viewed with TeXShop 1.35e. I have some more test files=20= encoded in other Latin scripts that do not print well ... -- Greetings Pete