[R] about fonts
0034058 at fudan.edu.cn
Thu Apr 14 18:33:49 CEST 2005
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.
system i686, linux-gnu
> 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.
and i use $fc-list,i can get
AR PL New Sung,ÎÄ¶¦£Ð£ÌÐÂËÎ:style=Regular
i am sure the fonts display chinese well.
More information about the R-help