unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7786: 23.2; Encoding of PostScript files
@ 2011-01-05  0:18 Peter Dyballa
  2021-01-20 18:02 ` Lars Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Peter Dyballa @ 2011-01-05  0:18 UTC (permalink / raw)
  To: 7786

Hello!

When I open a PostScript file it's opened "(encoded by coding system  
undecided-unix)" – as the *Help* buffer explains after invocation of C- 
u x =.

This is incorrect, because, as PRML, The PostScript® Language  
Reference manual, explains in a footnote near the end, on encodings:

	3. The ISOLatin1Encoding encoding vector deviates from the ISO 8859-1  
standard in one
	   respect: the character at position 140 is quoteleft, whereas the  
ISO standard specifies
	   grave. A PostScript program needing to conform exactly to the ISO  
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: ‘ (8216, #o20030, #x2018)

or: instead of /grave the character /quoteleft is encoded here.

IMO GNU Emacs should open a PostScript file in adobe-standard- 
encoding, except it sees in the file that the font(s) used is (are) re- 
encoded in ISOLatin1Encoding (which is *not* the same as ISO 8819-1),  
CE Encoding, or whatever.


In GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d  
scroll bars)
  of 2010-08-01 on Latsche.local
Windowing system distributor `The X.Org Foundation', version  
11.0.10903000
configured using `configure  '--without-sound' '--without-dbus' '-- 
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x- 
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ 
Application Support/Emacs' 'CFLAGS=-H -Wno-pointer-sign -pipe -fPIC - 
fno-common -mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS='  
'LDFLAGS=' 'CC=gcc-4.2' 'CPP=cpp-4.2''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: PostScript

Minor modes in effect:
   doc-view-minor-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t
   view-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-x d <return> <escape> <
s <down> <down> <down> <down> <down> <down> <down>
<down> v <end> <escape> > <prior> <prior> M-x d e s
c r i b <tab> e n c o <tab> <backspace> <backspace>
c <tab> <backspace> <backspace> <backspace> <tab> c
h a r <tab> a <tab> <return> C-g M-x d e s c r i b
e - <tab> c o d <tab> <return> <return> <help-echo>
<prior> <prior> <prior> <prior> <prior> <prior> <next>
<next> <down> <down> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
C-u C-x = <help-echo> <help-echo> <menu-bar> <PostScript>
<Cookbook> <ISOLatin1Extended> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Type C-c C-c to toggle between editing or viewing the document.
View mode: type C-h for help, h for commands, q to quit.
Mark set
Making completion list...
Quit
Making completion list...
Char: ` (96, #o140, #x60) point=36185 of 39534 (92%) column=11
call-interactively: Buffer is read-only: #<buffer man_ascii.ps>


--
Mit friedvollen Grüßen

   Pete

Üblicherweise begehen Menschen beim Entwerfen vollkommen  
narrensicherer Dinge gerne den Fehler, das Genie des Volltrottels zu  
unterschätzen.






^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2021-10-20 16:34 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05  0:18 bug#7786: 23.2; Encoding of PostScript files Peter Dyballa
2021-01-20 18:02 ` Lars Ingebrigtsen
2021-06-02  8:39 ` Lars Ingebrigtsen
2021-06-02 16:37   ` Peter Dyballa
2021-10-13 12:49   ` Lars Ingebrigtsen
2021-10-13 13:12     ` Lars Ingebrigtsen
2021-10-13 13:51 ` Lars Ingebrigtsen
2021-10-13 15:41   ` Eli Zaretskii
2021-10-13 16:05     ` Lars Ingebrigtsen
2021-10-13 16:18       ` Eli Zaretskii
2021-10-13 16:20         ` Lars Ingebrigtsen
2021-10-13 16:23           ` Peter Dyballa
2021-10-13 16:28             ` Lars Ingebrigtsen
2021-10-13 16:43               ` Peter Dyballa
2021-10-13 16:45             ` Eli Zaretskii
2021-10-13 17:35               ` Peter Dyballa
2021-10-13 16:43           ` Eli Zaretskii
2021-10-13 18:55             ` Lars Ingebrigtsen
2021-10-13 19:05               ` Eli Zaretskii
2021-10-13 19:07               ` Peter Dyballa
2021-10-13 21:02   ` Peter Dyballa
2021-10-14  6:42     ` Eli Zaretskii
2021-10-15 12:47       ` Lars Ingebrigtsen
2021-10-15 15:59         ` Peter Dyballa
2021-10-18  7:09           ` Lars Ingebrigtsen
2021-10-18 12:25             ` Eli Zaretskii
2021-10-18 13:17               ` Lars Ingebrigtsen
2021-10-18 15:51               ` Peter Dyballa
2021-10-18 16:00                 ` Eli Zaretskii
2021-10-19  5:49                   ` Peter Dyballa
2021-10-19 11:59                     ` Eli Zaretskii
2021-10-19 13:47                       ` Lars Ingebrigtsen
2021-10-20  5:39                         ` Peter Dyballa
2021-10-20  5:45                           ` Lars Ingebrigtsen
2021-10-20  6:18                             ` Lars Ingebrigtsen
2021-10-20 16:34                             ` Peter Dyballa
2021-10-13 21:55   ` Peter Dyballa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).