unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org, vinicius@cpqd.com.br
Subject: Re: Print eight-bit-* characters with ps-print
Date: Fri, 17 May 2002 17:21:38 +0300	[thread overview]
Message-ID: <3277-Fri17May2002172137+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <200205130623.PAA06806@etlken.m17n.org> (message from Kenichi Handa on Mon, 13 May 2002 15:23:29 +0900 (JST))

> Date: Mon, 13 May 2002 15:23:29 +0900 (JST)
> From: Kenichi Handa <handa@etl.go.jp>
> 
> Please try to add more delq for eight-bit-* here, and set
> ps-print-control-characters to `8-bit' (the default is
> `8-bit-control').  Then all eight-bit-* should be printed in
> octal form.  Isn't it what you want?

Well, having eight-bit-* characters printed as octal escapes is less
than optimal.  The code I posted does slightly better: it prints them
in the default font built into the PostScript printer (usually
Latin-1).

As I said, this is not 100% correct, but in many cases it matches what
you see on the screen.  And it certainly is nicer than the octal
escapes.

> > (Btw, it looks like iso-safe can safely encode eight-bit-* characters.
> > If that's true, I think we should update its doc string.  Handa-san,
> > can you please comment on this?)
> 
> This is a difficult part.  Currently, as far as I remember
> all coding-systems encode them as is.  They are treated as
> special bytes that should be written out as is.  I'm not
> sure whether or not we should make iso-safe as an exception.
> Instead, how about documenting clearly that there's a super
> rule that any coding system encodes eight-bit-* as is?

I will look for a proper place, thanks.

  reply	other threads:[~2002-05-17 14:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  6:23 Print eight-bit-* characters with ps-print Kenichi Handa
2002-05-17 14:21 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-20  0:32 Kenichi Handa
2002-05-12 16:31 Eli Zaretskii
2002-05-13 14:19 ` Richard Stallman
2002-05-13 14:19 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3277-Fri17May2002172137+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    --cc=vinicius@cpqd.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).