[Rd] UTF8 letters are imaged incorrectly (PR#8770)

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Apr 20 08:17:38 CEST 2006


Thanks to Ei-ji Nakama's hints, I was able to confirm that on FC3 Linux:

1) in locale ru_RU.koi8r  Russian letters are rendered correctly if I use
"-cronyx-helvetica-%s-%s-*--%d-*-*-*-*-*-*-*" as the first element of
option "X11fonts".

2) This does not work in locale ru_RU.utf8, and the reason is that there 
is no XLC_LOCALE locale directory.  Adding a suitably configured directory 
made this work.

3) There _is_ an XLC_LOCALE locale directory ja_JA.utf8, and I was able to 
get Japanese text to display by using

"-*-mincho-%s-%s-*--%d-*-*-*-*-*-*-*"  as the first element of option 
"X11fonts".

Systems which have suitable .ttf fonts installed may work with the default 
setting.

I've added some notes on 1) and 3) to ?X11.

Thanks Ei-ji!

Brian Ripley

On Sat, 15 Apr 2006, Ei-ji Nakama wrote:

> This was not a bug.
>
> 2006/4/15, Mike Bocharov <bocharov_m at inbox.ru>:
>> It work, thanks for your help!
>>
>>>  If an error is not given by a locale command, I think that local
>>> setting of glibc does not have any problem.
>>>  I think that there is not problem if  add encoding of koi8-r to
>>> XLC_LOCALE file.
>>>
>>> I am not readable, but probably the following URL is useful.
>>> http://ru.gentoo-wiki.com/HOWTO_ru_RU.utf8_Gentoo_way
>>
>
>
> --
> EI-JI Nakama  <nakama at ki.rim.or.jp>
> "\u4e2d\u9593\u6804\u6cbb"  <nakama at ki.rim.or.jp>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list