unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sebastien Kirche <sebastien.kirche.no@spam.free.fr.invalid>
Subject: Re: print eastern glyphs
Date: Tue, 21 Sep 2004 11:34:02 +0200	[thread overview]
Message-ID: <m2brg0ufsl.fsf@seki.fr> (raw)
In-Reply-To: 86sm9cdgwr.fsf@mediawars.ne.jp

Le 20 Sep 2004, Shigeki UNO a dit :

> Add the following lisp code to ~/.emacs, please.
> 
> (setq ps-multibyte-buffer 'non-latin-printer)
> 
> And also, take a look at ps-mule.el (PREFIX/share/emacs/VERSION/lisp). You
> would find the description about what you want to know.

Thank you  for the answer  but that  did not helped  me totally :  with that
statement, printing failed by  complaining that ps-mule-chars-in-string is a
void function.

After  googling  a  little,  i  have  found some  recent  changes  from  the
developpers in  ps-mule.el that  made me try  the following (i  am currently
using the cvs version):

 (progn
       (defalias 'ps-mule-next-point '1+)
       (defalias 'ps-mule-chars-in-string 'Length)
       (defalias 'ps-mule-string-char 'aref)
       (defsubst ps-mule-next-index (str i) (1+ i)))

I then can  ps-print the buffer, but eastern glyphs  are replaced by western
letters :(

BTW  : i  think i  may forward  the ps-mule-chars-in-string  problem  to the
emacs-devel list...

Sébastien Kirche

      reply	other threads:[~2004-09-21  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3295.1095659284.1998.help-gnu-emacs@gnu.org>
2004-09-20  9:21 ` print eastern glyphs (was: 未承諾広告※サイドビジネスの決定版です!) Sebastien Kirche
2004-09-20 16:49   ` print eastern glyphs Shigeki UNO
2004-09-21  9:34     ` Sebastien Kirche [this message]

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=m2brg0ufsl.fsf@seki.fr \
    --to=sebastien.kirche.no@spam.free.fr.invalid \
    /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.
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).