From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#7786: 23.2; Encoding of PostScript files Date: Tue, 19 Oct 2021 15:47:26 +0200 Message-ID: <87o87ldt3l.fsf@gnus.org> References: <87ee8p58y3.fsf@gnus.org> <52576676-75BB-42AF-8057-143A022648C0@Freenet.DE> <83bl3sm7jn.fsf@gnu.org> <87mtna315o.fsf@gnus.org> <4E68EB60-E30F-4FA8-857A-A9D7BA09BD61@Freenet.DE> <8735oyollj.fsf@gnus.org> <831r4ifrk6.fsf@gnu.org> <83bl3me31o.fsf@gnu.org> <83o87lcjjn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Peter Dyballa , 7786@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 15:48:18 2021 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 1mcpTV-00019f-Vs for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 15:48:17 +0200 Original-Received: from localhost ([::1]:45096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcpTU-0008HT-Bo for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 09:48:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcpTI-0008Gx-44 for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 09:48:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcpTF-0007Mv-Rg for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 09:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcpTF-0007Wk-Qd for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 09:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2021 13:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7786 X-GNU-PR-Package: emacs Original-Received: via spool by 7786-submit@debbugs.gnu.org id=B7786.163465126028859 (code B ref 7786); Tue, 19 Oct 2021 13:48:01 +0000 Original-Received: (at 7786) by debbugs.gnu.org; 19 Oct 2021 13:47:40 +0000 Original-Received: from localhost ([127.0.0.1]:49891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcpSt-0007VO-Up for submit@debbugs.gnu.org; Tue, 19 Oct 2021 09:47:40 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:35244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcpSq-0007UQ-OS for 7786@debbugs.gnu.org; Tue, 19 Oct 2021 09:47:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dQuWDAR/NtlE0qi+F3Y18OZ3w4VeZmTZjU/j8TIlhvs=; b=LtVKTfQVctEDVTzehYrInDjQ8+ 5pEbsIPTxd9AjhYvLW/WIepSCTx03MLDzBU9LQUxnwwOEZrP3s7rSzriw2HrtJpbVxDYc2ijz2ItK 3k0Tei6NWDEh3qqSMhyKfxG8/XiSkKncaaamoghUu5L1U421z4k6T/2jBl9rJ4pEUUkQ=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcpSh-0006Rq-H0; Tue, 19 Oct 2021 15:47:30 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUiFxxzjJeWqbBi d4xKTVe0v8fR09r///86u1foAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UKEw0SLi67Lg4AAAGjSURB VDjLnZNRkoMgDIaZlgsoewHTpc+rOPtslQvITLgB3P8Im0RQ2/FpU6fM5DN//gAqRdG6cYGujTln xEgPLUqAcQ5MTyAm5IdWAdC5vnEDpShS5n+p0CGY3jgQkSR6G7jFwCUWKZcT6yACg9/8RGgABFAf qgABmzaA3dIJAwi455TYJLIhfge6RsBMNjcrSTA0HAWQBINNktJmJPB6ihvKsSbpN854v4MsQ3AB gUkXIGJYDHWiw8CWARhCoP2ZdhB3gO8Aa01iU0VJDWfApn4qAIv2aNKZoqR6sGDjrtVVJfUC3tiU CoGqpBYGtH+lJkwnwO0LSGsFfg4Mahf8VjsgXQylIoVpr1hyBm6Dcn0e+gA2Bj5MayOGdfQV6GXI fESWf2H92k0p38aygdRnPfJKb9dDzjWM6hQzxCQFtOVv4A4g+w0tjNMZ6LmzNAsd6u6orPrRA5jD KBmqq8RZpCye0XQBJmJv4PSKW/wluPEM7qJIy0fxuCBDoDvbfgC+wjS+8Z9t5G7PYJrxyoAeqP2l ZSLN+JHbXtS9uZ5l6/Xv+AMd4re+5ctE/AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0xOVQx MzoxODo0NiswMDowMDEI1aUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTAtMTlUMTM6MTg6NDYr MDA6MDBAVW0ZAAAAAElFTkSuQmCC X-Now-Playing: Rocket To The Sky's _Medea_: "Elephant van Sant" In-Reply-To: <83o87lcjjn.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 19 Oct 2021 14:59:08 +0300") 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:217575 Archived-At: Eli Zaretskii writes: >> PostScript is (was?) meant to produce good looking text >> print-outs. Therefore it uses typographical quotes instead of those >> from ASCII. This design decision should be honoured. My screenshot showed that the actual output used proper typographical quotes, but that may be down to the font used. > So why a2ps doesn't? I think the conclusion here is that we shouldn't do anything. Adobe created two encodings -- the "standard" one (which is ASCII with some alterations), and the ISOLatin1Encoding (which is 8859-1 with some alterations). But we can't really detect these simply: a2ps, for instance, uses 8859-1 instead, %%BeginResource: encoding ISO-8859-1Encoding enscript does the same, but in a different way: %%BeginResource: procset Enscript-Encoding-88591 1.6.5 90 None of the .ps files I can find on this laptop uses ISOLatin1Encoding (or the "standard encoding"), as far as I can see. So 1) these encodings went out of fashion decades ago and, 2) even if we wanted to support them, Emacs can't auto-detect when they're used. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no