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: ps-print question Date: Wed, 5 Jan 2011 01:20:27 +0100 Message-ID: References: <9E47A63C-3337-4CF9-AC0E-C91082557375@arqux.com> <97BBE33A-D586-4CFA-BE9C-96C6ABBD22A3@Web.DE> <63E6A495-DFCF-4791-B39A-9B9893228275@Freenet.DE> <47A0F9E5-9581-4484-99DA-71B1D2E54DF2@arqux.com> <5B72ACF7-0ACA-4DC9-A49F-98AA1DF0B504@arqux.com> <8A0622C4-69A5-4BC0-861F-66CE369EBF68@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294186860 7804 80.91.229.12 (5 Jan 2011 00:21:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 00:21:00 +0000 (UTC) Cc: GNU Emacs List To: David Penton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 05 01:20:55 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PaH7X-0008If-Hg for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 01:20:55 +0100 Original-Received: from localhost ([127.0.0.1]:45658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaH7W-0006o4-Tq for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jan 2011 19:20:54 -0500 Original-Received: from [140.186.70.92] (port=51404 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaH79-0006nz-SW for help-gnu-emacs@gnu.org; Tue, 04 Jan 2011 19:20:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaH78-0006IQ-Eo for help-gnu-emacs@gnu.org; Tue, 04 Jan 2011 19:20:31 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:46577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaH78-0006IM-1P for help-gnu-emacs@gnu.org; Tue, 04 Jan 2011 19:20:30 -0500 Original-Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id C6292192EB15C; Wed, 5 Jan 2011 01:20:28 +0100 (CET) Original-Received: from [91.35.211.55] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (WEB.DE 4.110 #2) id 1PaH76-0006s7-00; Wed, 05 Jan 2011 01:20:28 +0100 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18v+G8fB3uN6nwTa9y/RP1cjkqFkLAqkXSjnaU3 jUb/nPR6WCyj5rDps2djUVbdIemLzc1yWDuIuPxEI7Xx9+A5je pNBIELHrQTc51GpaIPOQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:78194 Archived-At: Dave, I have an answer from Ghostscript/Artifex. It points to footnote in =20 PRML, the PostScript Language Reference Manual (see p785 of the 3rd edition): 3. The ISOLatin1Encoding encoding vector deviates from the ISO = 8859-1 =20 standard in one respect: the character at position 140 is quoteleft, whereas = the =20 ISO standard specifies grave. A PostScript program needing to conform exactly to the = ISO =20 standard should create a modified encoding vector with this entry changed. So what is displayed in the buffer as character: ` (96, #o140, #x60) is in reality, printed on some medium or on screen character: =91 (8216, #o20030, #x2018) or: instead of /grave the character /quoteleft is encoded here. You can try yourself to open the PS file (any with a `) without any =20 precautions and it will be Unicode or ISO Latin, maybe some ASCII. In =20= a second buffer open the same file=96actually a copy, because I don't =20= think that GNU Emacs can display the same file in two different =20 encodings=96in adobe-standard-encoding. To do so start with: C-x RET c adobe-standard-encoding RET v I assume you are in dired-mode and the text cursor is on the copy. =20 Otherwise you have to use C-x f. Now notice the difference! I think of continuing the conversation with the Ghostscript folks =20 (extending to PDF), and I also sent a bug report to the GNU Emacs =20 developers because PS files are *not* opened in a PostScript but some =20= text encoding. With the consequence that folks like you and me think a =20= ` is a ` while it's a =91... -- Greetings Pete "By filing this bug report you have challenged the honor of my family. =20= Prepare to die!"