all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* print eastern glyphs (was: 未承諾広告※サイドビジネスの決定版です!)
       [not found] <mailman.3295.1095659284.1998.help-gnu-emacs@gnu.org>
@ 2004-09-20  9:21 ` Sebastien Kirche
  2004-09-20 16:49   ` print eastern glyphs Shigeki UNO
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Kirche @ 2004-09-20  9:21 UTC (permalink / raw)


Hi,

when i try to ps-print such a message or (A P or C-u A P) Emacs objects that
«Font for some characters not found, continue anyway? (y or n)»
If i continue,  the resulting document obviously shows  empty boxes in place
of japanese glyphs.

What  should i  do  to support  printing  of japanese,  chinese or  cyrillic
fonts ? They already display correctly at screen.

I use currently carbon-emacs on osx but also emacs within gnu/linux.

Thanks for any pointer.

Sébastien Kirche

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

* Re: print eastern glyphs
  2004-09-20  9:21 ` print eastern glyphs (was: 未承諾広告※サイドビジネスの決定版です!) Sebastien Kirche
@ 2004-09-20 16:49   ` Shigeki UNO
  2004-09-21  9:34     ` Sebastien Kirche
  0 siblings, 1 reply; 3+ messages in thread
From: Shigeki UNO @ 2004-09-20 16:49 UTC (permalink / raw)


Sebastien Kirche <sebastien.kirche.no@spam.free.fr.invalid> writes:

| Hi,
| 
| when i try to ps-print such a message or (A P or C-u A P) Emacs objects that
| «Font for some characters not found, continue anyway? (y or n)»
| If i continue,  the resulting document obviously shows  empty boxes in place
| of japanese glyphs.
| 
| What  should i  do  to support  printing  of japanese,  chinese or  cyrillic
| fonts ? They already display correctly at screen.
| 
| I use currently carbon-emacs on osx but also emacs within gnu/linux.
| 
| Thanks for any pointer.
| 
| Sébastien Kirche

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.

HTH,

---
Shigeki UNO <shigeki at mediawars dot ne dot jp>

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

* Re: print eastern glyphs
  2004-09-20 16:49   ` print eastern glyphs Shigeki UNO
@ 2004-09-21  9:34     ` Sebastien Kirche
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Kirche @ 2004-09-21  9:34 UTC (permalink / raw)


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

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

end of thread, other threads:[~2004-09-21  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.