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

From: <ripley_at_stats.ox.ac.uk>
Date: Thu 20 Apr 2006 - 06:17:38 GMT


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@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@ki.rim.or.jp>
> "\u4e2d\u9593\u6804\u6cbb" <nakama@ki.rim.or.jp>
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Apr 20 16:20:02 2006

This archive was generated by hypermail 2.1.8 : Thu 20 Apr 2006 - 08:17:37 GMT