On Sun, 10 Apr 2005 17:57:26 +0100 (BST)
Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> On Sun, 10 Apr 2005, ronggui wrote:
>
> > when i use R(2.1.0) under windows,it can display Chinese well.and the
>
> R 2.1.0 will not be out for 8 days: are you a time-traveller or careless?
> (The posting guide does ask you to give the *full* version, that is 2.1.0
> beta of a particular date.)
i would like to use the new version,so maybe i am a time-traveller.sorry for my
careless that i fail to give the info about the version.from version
1.9-2.10,the problem exsits.but under windows,all works well ,which makes me
think the problem is due the the fonts.> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status alpha
major 2
minor 1.0
year 2005
month 03
day 23
language R
>
> 1) Read the posting guide and learn to tell us *accurately* basic
> information, like which graphics device, which locale and which R version.
X11,pdf face the same problem.
my locale is UTF8.my i am using Simplied Chinese.
> 2) All those devices stated in the NEWS file to do so do indeed work in
> Simplified Chinese (and we have no reason to suppose that they do not work
> in Traditional Chinese, but the difference does matter as the glyphs are
> different). But some, e.g. pdf() do not. The X11 device does if suitable
> X11 fonts are installed, and not otherwise. If you mean the X11 device,
> seek help on an X11 forum.
all my other X11 application,mail agent,openoffice,....,work well and the
chinese can display correctly.
> (Incidentally, 2.1.0 beta under Windows XP only works in Chinese if the
> correct fonts are installed, which they are not by default in the versions
> sold in Europe.)
in fact,from version 1.90,R can display Chinese correctly under windows.(though
it sometimes ugly before version 2.1.0).
when i use $xlfonts,i can see my system has the following fonts,and i am sure
the song fonts can support chinese.
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-1
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-2
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-3
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-4
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-5
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-6
-cbs-song-medium-r-normal-fantizi-0-0-75-75-c-0-cns11643.1992-7
-cbs-song-medium-r-normal-fantizi-16-160-75-75-c-160-cns11643.1992-3
-cbs-song-medium-r-normal-fantizi-16-160-75-75-c-160-cns11643.1992-4
-cbs-song-medium-r-normal-fantizi-16-160-75-75-c-160-cns11643.1992-5
-cbs-song-medium-r-normal-fantizi-16-160-75-75-c-160-cns11643.1992-6
-cbs-song-medium-r-normal-fantizi-16-160-75-75-c-160-cns11643.1992-7
-cbs-song-medium-r-normal-fantizi-24-240-75-75-c-240-cns11643.1992-1
-cbs-song-medium-r-normal-fantizi-24-240-75-75-c-240-cns11643.1992-2
.....
and i use $fc-list,i can get
....
AR PL New Sung,ÎĶ¦£Ð£ÌÐÂËÎ:style=Regular
SimSun,ËÎÌå:style=Regular
.....
i am sure the fonts display chinese well.