emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ps-print does not print and report correctly


From: Peter Dyballa
Subject: ps-print does not print and report correctly
Date: Thu, 29 Sep 2005 14:21:16 +0200

Hello!

Having an ISO Latin-15 encoded buffer that goes like this:

        ;;; -*- mode: Text; coding: iso-8859-15; -*-
        ;
        ;       Time-stamp: <2005-07-15 13:12:08 pete>
        ;
        ;   Western European Glyphs with € (Latin 9, Latin 0)
        ;
        ;   oct   dec   hex    UCS2    UTF-8
        ;=====================================
          = 240 = 160 = A0 = U+00A0 =    C2 A0 : NO-BREAK SPACE
        ¡ = 241 = 161 = A1 = U+00A1 =    C2 A1 : INVERTED EXCLAMATION MARK
        ¢ = 242 = 162 = A2 = U+00A2 =    C2 A2 : CENT SIGN
        £ = 243 = 163 = A3 = U+00A3 =    C2 A3 : POUND SIGN
        € = 244 = 164 = A4 = U+20AC = E2 82 AC : EURO SIGN
        ¥ = 245 = 165 = A5 = U+00A5 =    C2 A5 : YEN SIGN
Š = 246 = 166 = A6 = U+0160 = C5 A0 : LATIN CAPITAL LETTER S WITH CARON
        § = 247 = 167 = A7 = U+00A7 =    C2 A7 : SECTION SIGN

I get this *Warning* message when I choose 'PostScript Print Buffer' from the File menu:

        These characters in the buffer can't be printed:
         €,  , ¡, ¢, £, €, ¥, Š, §, š, ©, ª, «, ¬, ­, and more...
        Click them to jump to the buffer position,
        or C-u C-x = will give information about them.

This is not true, because this is put into PS file:

        LHL
        /f0 F
        (\240) S
        /f0 F
        ( = 240 = 160 = A0 = U+00A0 =    C2 A0 : NO-BREAK SPACE) S
        LHL
        /f0 F
        (\241) S
        /f0 F
        ( = 241 = 161 = A1 = U+00A1 =    C2 A1 : INVERTED EXCLAMATION MARK) S
        LHL
        /f0 F
        (\242) S
        /f0 F
        ( = 242 = 162 = A2 = U+00A2 =    C2 A2 : CENT SIGN) S
        LHL
        /f0 F
        (\243) S
        /f0 F
        ( = 243 = 163 = A3 = U+00A3 =    C2 A3 : POUND SIGN) S
        LHL
        1 1 SB
        /f0 F
        ( = 244 = 164 = A4 = U+20AC = E2 82 AC : EURO SIGN) S
        LHL
        /f0 F
        (\245) S
        /f0 F
        ( = 245 = 165 = A5 = U+00A5 =    C2 A5 : YEN SIGN) S

As you can see only € is censored away, although it's hard to image that there is still some PostScript printer around that can't print €. Other cases of censorship are:

        LHL
        1 1 SB
        /f0 F
( = 246 = 166 = A6 = U+0160 = C5 A0 : LATIN CAPITAL LETTER S WITH CARON) S
        LHL
        1 1 SB
        /f0 F
( = 250 = 168 = A8 = U+0161 = C5 A1 : LATIN SMALL LETTER S WITH CARON) S
        LHL
        1 1 SB
        /f0 F
( = 264 = 180 = B4 = U+017D = C5 BD : LATIN CAPITAL LETTER Z WITH CARON) S
        LHL
        1 1 SB
        /f0 F
( = 270 = 184 = B8 = U+017E = C5 BE : LATIN SMALL LETTER Z WITH CARON) S
        LHL
        1 1 SB
        /f0 F
        ( = 274 = 188 = BC = U+0152 =    C5 92 : LATIN CAPITAL LIGATURE OE) S
        LHL
        1 1 SB
        /f0 F
        ( = 275 = 189 = BD = U+0153 =    C5 93 : LATIN SMALL LIGATURE OE) S
        LHL
        1 1 SB
        /f0 F
( = 276 = 190 = BE = U+0178 = C5 B8 : LATIN CAPITAL LETTER Y WITH DIAERESIS) S

It is censorship because it disables the user to further process the PS code to make it completely printable, for example by using a TrueType font with all the missing glyphs.



In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0, X toolkit, Xaw3d scroll bars)
 of 2005-09-27 on Latsche.local
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/Application Support/Emacs/calendar:/Library/Application Support/Emacs/preview:/Library/Application Support/Emacs/auctex/images:/Library/Application Support/Emacs/auctex:/Library/Application Support/Emacs' 'CFLAGS=-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt' 'CPPFLAGS=-I/usr/local/include -I/sw/include/libpng12 -I/sw/lib/pango-ft219/include -I/sw/include/pango-1.0 -I/sw/lib/freetype219/include -I/sw/include' 'LDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L/sw/lib/ncurses -L/sw/lib/freetype219/lib -L/sw/lib/pango-ft219/lib -L/sw/lib''

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  desktop-save-mode: t
  display-time-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


--
Mit friedvollen Grüßen

  Pete

Wasting time is an important part of living.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]