all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Chinese characters missing in .ps output file
Date: Sun, 21 Dec 2008 22:18:05 +0000	[thread overview]
Message-ID: <87prjl895u.fsf@gmail.com> (raw)
In-Reply-To: mailman.3207.1229891161.26697.help-gnu-emacs@gnu.org


Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> With Emacs, I correctly open a file including chinese characters.  The
> characters are correctly displayed in the text file, but when I try to create
> the ps file, with `C-u M-x pr-ps-print-buffer-preview' or `C-u M-x
> pr-ps-print-buffer-print', they are not displayed.
>
> What am I missing, how can I work it out?


Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> You are missing CID mapped PostScript fonts or a means to teach GNU Emacs to
> use TrueType or OpenType fonts instead.
>
> Remember: a PostScript font can have thousands or millions of glyphs, but its
> encoding can only be 256 elements. It took years until  PostScript was
> expanded 
> to support CJK scripts.
>
>
> Instead try htmlize.el by Hrvoje Nikšić: http://fly.srk.fer.hr/
> ~hniksic/emacs/htmlize.el. A sample of its capabilities can be seen here:
> http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.html – missing  some CJK and
> other non-Latin content. Lennart Borgman's htmlize- 
> view.el helps a bit to handle printing (http://piprim.tuxfamily.org/
> home/pi/emacs.d/site-lisp/htmlize-view.el).


Am 21.12.2008 um 21:30 schrieb Rodolfo Medina:

>> With `http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el' I can convert the text
>> file into html format.  But, I still can't print it.


No, it was my printer having problems.  Now I can print the html file fine!


> Can't you tell your browser to print the HTML version or save it as PDF?


Now I can print the HTML version.  As to save it as PDF, my Mozilla version
does not seem to be able to.  What browser do you know can do it?


> The other question is: did you understand what I wrote about PostScript
> fonts?  If so, can you explain why it's not so easy to print a PostScript
> file with CJK content?


Well, in fact no, I didn't understand what you wrote about PS fonts.  How can
obtain a .ps file from a text file including chinese characters?

Bare with my ignorance, thanks indeed
Rodolfo


  parent reply	other threads:[~2008-12-21 22:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-20 15:49 Chinese characters missing in .ps output file Rodolfo Medina
2008-12-20 16:21 ` Peter Dyballa
     [not found] ` <mailman.3168.1229790102.26697.help-gnu-emacs@gnu.org>
2008-12-21 20:30   ` Rodolfo Medina
2008-12-21 20:25     ` Peter Dyballa
     [not found]     ` <mailman.3207.1229891161.26697.help-gnu-emacs@gnu.org>
2008-12-21 22:18       ` Rodolfo Medina [this message]
2008-12-21 22:20         ` Peter Dyballa
     [not found]         ` <mailman.3210.1229898011.26697.help-gnu-emacs@gnu.org>
2008-12-22 15:41           ` Rodolfo Medina
2008-12-22 20:22             ` Peter Dyballa
2008-12-23 22:22             ` James Cloos
     [not found]             ` <mailman.3297.1230070986.26697.help-gnu-emacs@gnu.org>
2008-12-24 19:15               ` Rodolfo Medina

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

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

  git send-email \
    --in-reply-to=87prjl895u.fsf@gmail.com \
    --to=rodolfo.medina@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 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.