Not sure if this is exactly what you're looking for, but there is a
TrueType font package freely available from Arphic which can be
installed using apt*. Please see:
I'm away from my Debian box and don't have a printer anyway (so I
don't think I installed much in the way of postscript support), so I
am not sure this will solve your problem, but I hope it is helpful.
Best,
js
On Tue, Dec 23, 2008 at 12:23 PM, Rodolfo Medina
<rodolfo.medina@gmail.com> wrote:
> 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.
>
> I know I miss some fonts. Can anyone suggest what fonts and where to download
> them and how to install them in Debian?
>
> Thanks for any help
> Rodolfo
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-24-2008, 09:32 AM
Osamu Aoki
How to install chinese fonts for ps output file?
On Tue, Dec 23, 2008 at 05:23:32PM +0000, Rodolfo Medina wrote:
> 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.
>
> I know I miss some fonts. Can anyone suggest what fonts and where to download
> them and how to install them in Debian?
See my post recently for Japanese support. same trick concept woks
here.
Chinese task in aptitude is the way to go :-)
Osamu
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-24-2008, 11:56 AM
Rodolfo Medina
How to install chinese fonts for ps output file?
Rodolfo Medina wrote:
>> 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.
>>
>> I know I miss some fonts. Can anyone suggest what fonts and where to
>> download them and how to install them in Debian?
Osamu Aoki <osamu@debian.org> writes:
> See my post recently for Japanese support. same trick concept woks
> here.
>
> Chinese task in aptitude is the way to go :-)
, but that didn't help. What else should I install?
Rodolfo
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-24-2008, 02:15 PM
Osamu Aoki
How to install chinese fonts for ps output file?
On Wed, Dec 24, 2008 at 12:56:40PM +0000, Rodolfo Medina wrote:
> I apt-get installed the following:
>
> ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp
>
> , but that didn't help. What else should I install?
It should although it may be not so nice looking.
> Rodolfo
Hmmm... current unstable lacks Chinese tasks???
No no it is under:
* Simplified Chinese desktop
* Traditional Chinese desktop
e.g. Here:
i ttf-arphic-ukai 0.2.200802 0.2.200802
i ttf-arphic-uming 0.2.200802 0.2.200802
i unifont 1:5.1.2008 1:5.1.2008
i x-ttcidfont-conf 32 32
p xfonts-efont-unicode <none> 0.4.0-5
p xfonts-intl-chinese <none> 1.2.1-6
p xfonts-wqy <none> 0.9.9-3.1
Few other things to consider are:
* Fist do you have system set up for one of UTF-8 locales?
* I am not EMACS user but are you setting EMACS to use UTF-8? (Emacs uses very
special internal encoding system)
>From other angle, my common sense tells me to install are ones listed
under "l" dialogue with:
~Gculture::taiwanese~Gmade-of::data:font
under aptitude.
I have
ttf-arphic-ukai
ttf-arphic-uming
ttf-unifont
unifont
xfonts-unifont
installed.
You may want to consider:
latex-cjk-all
chdrvfont
ttf-arphic-bkai00mp
ttf-arphic-bsmi00lp
xfonts-cmex-big5p
xfonts-intl-chinese
PS: I do not use Chinese nor understand Chinese. I can only guess some
of it just like English speaking people can guess some French text by
using borrowed words.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-24-2008, 03:30 PM
"H.S."
How to install chinese fonts for ps output file?
Osamu Aoki wrote:
>
> Hmmm... current unstable lacks Chinese tasks???
> No no it is under:
> * Simplified Chinese desktop
> * Traditional Chinese desktop
>
> e.g. Here:
> i ttf-arphic-ukai 0.2.200802 0.2.200802
> i ttf-arphic-uming 0.2.200802 0.2.200802
> i unifont 1:5.1.2008 1:5.1.2008
> i x-ttcidfont-conf 32 32
> p xfonts-efont-unicode <none> 0.4.0-5
> p xfonts-intl-chinese <none> 1.2.1-6
> p xfonts-wqy <none> 0.9.9-3.1
>
> Few other things to consider are:
> * Fist do you have system set up for one of UTF-8 locales?
I think utf-8 locale may be the reason here.
To the OP: what viewer are you using to see the ps file?
I have seen that some unicode fonts are not shown properly in gv. It has
something to do with gs not being able to deal with unicode fonts
properly. For example, if I export an odf document containing some
unicode fonts to a ps file, gv shown boxes in their places. But if I
export the same file to a PDF file, the fonts are shown properly.
I would very interested in knowing how gs is made to understand unicode.
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-24-2008, 06:20 PM
Rodolfo Medina
How to install chinese fonts for ps output file?
Rodolfo Medina wrote:
>> 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.
>>
>> I know I miss some fonts. Can anyone suggest what fonts and where to
>> download them and how to install them in Debian?
"H.S." <hs.samix@gmail.com> writes:
> To the OP: what viewer are you using to see the ps file?
>
> I have seen that some unicode fonts are not shown properly in gv. It has
> something to do with gs not being able to deal with unicode fonts
> properly. For example, if I export an odf document containing some
> unicode fonts to a ps file, gv shown boxes in their places. But if I
> export the same file to a PDF file, the fonts are shown properly.
>
> I would very interested in knowing how gs is made to understand unicode.
Within Emacs, if I use the package
http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el
I obtain an HTML file, that firefox will convert into ps and pdf format. Then,
gv correctly displays the chinese characters. The problem only occurs when I
want the ps file directly from the text file using Emacs. This means that it's
not a matter of fonts installed in my system, doesn't it?
Rodolfo
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-25-2008, 11:31 AM
Osamu Aoki
How to install chinese fonts for ps output file?
On Wed, Dec 24, 2008 at 11:30:01AM -0500, H.S. wrote:
> Osamu Aoki wrote:
> >
> > Hmmm... current unstable lacks Chinese tasks???
> > No no it is under:
> > * Simplified Chinese desktop
> > * Traditional Chinese desktop
> >
> > e.g. Here:
> > i ttf-arphic-ukai 0.2.200802 0.2.200802
> > i ttf-arphic-uming 0.2.200802 0.2.200802
> > i unifont 1:5.1.2008 1:5.1.2008
> > i x-ttcidfont-conf 32 32
> > p xfonts-efont-unicode <none> 0.4.0-5
> > p xfonts-intl-chinese <none> 1.2.1-6
> > p xfonts-wqy <none> 0.9.9-3.1
> >
> > Few other things to consider are:
> > * Fist do you have system set up for one of UTF-8 locales?
>
>
>
> I think utf-8 locale may be the reason here.
>
> To the OP: what viewer are you using to see the ps file?
>
> I have seen that some unicode fonts are not shown properly in gv. It has
> something to do with gs not being able to deal with unicode fonts
> properly.
It is Cmap file issue.
Lenny release failed to transition Cmap file to new one. So depending
on package, you need to have different ones.
> For example, if I export an odf document containing some
> unicode fonts to a ps file, gv shown boxes in their places. But if I
> export the same file to a PDF file, the fonts are shown properly.
>
> I would very interested in knowing how gs is made to understand unicode.