[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chinese characters missing in .ps output file
From: |
Rodolfo Medina |
Subject: |
Re: Chinese characters missing in .ps output file |
Date: |
Mon, 22 Dec 2008 15:41:53 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux) |
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> 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).
This way I can immediately have an HTML file. Then, Debian Testing's Firefox
will convert it to .ps or .pdf format, so my problem is solved in practice.
But still I wish I could get the .ps file directly from within Emacs using the
pr-ps-print commands, as I do with files containing `normal' characters:
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:
> 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.
Rodolfo:
>> How can obtain a .ps file from a text file including chinese characters?
Peter:
> By using complex commercial CJK fonts. Times, Helvetica, Courier have no CJK
> glyphs. And they only have a 256 elements encoding, maximally!
Can you give some more indications about where to download and how to install
those fonts?
Thanks
Rodolfo
- Chinese characters missing in .ps output file, Rodolfo Medina, 2008/12/20
- Re: Chinese characters missing in .ps output file, Peter Dyballa, 2008/12/20
- Message not available
- Re: Chinese characters missing in .ps output file, Rodolfo Medina, 2008/12/21
- Re: Chinese characters missing in .ps output file, Peter Dyballa, 2008/12/21
- Message not available
- Re: Chinese characters missing in .ps output file, Rodolfo Medina, 2008/12/21
- Re: Chinese characters missing in .ps output file, Peter Dyballa, 2008/12/21
- Message not available
- Re: Chinese characters missing in .ps output file,
Rodolfo Medina <=
- Re: Chinese characters missing in .ps output file, Peter Dyballa, 2008/12/22
- Re: Chinese characters missing in .ps output file, James Cloos, 2008/12/23
- Message not available
- Re: Chinese characters missing in .ps output file, Rodolfo Medina, 2008/12/24