[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7786: 23.2; Encoding of PostScript files
From: |
Peter Dyballa |
Subject: |
bug#7786: 23.2; Encoding of PostScript files |
Date: |
Wed, 5 Jan 2011 01:18:19 +0100 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7786: 23.2; Encoding of PostScript files,
Peter Dyballa <=