[R] R2.1.0: X11 font at size 14 could not be loaded

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 29 08:12:15 CEST 2005


On Fri, 29 Apr 2005, Patrick Connolly wrote:

> On Thu, 28-Apr-2005 at 05:25PM -0400, Xiang-Jun Lu wrote:
>
> |> Hi,
> |>
> |> I have just noticed the following problem with R2.1.0 running on SuSE 9.1,
> |> [However, version 2.0.1 (2004-11-15) on the same machine works Okay]:
> |>
> |> -------------------------------------------------------------------------
> |> >hist(rnorm(100))
> |> Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
> |>         X11 font at size 14 could not be loaded
> |> >version
> |>          _
> |> platform i686-pc-linux-gnu
> |> arch     i686
> |> os       linux-gnu
> |> system   i686, linux-gnu
> |> status   Patched
> |> major    2
> |> minor    1.0
> |> year     2005
> |> month    04
> |> day      20
> |> language R
> |> -------------------------------------------------------------------------
> |>
> |> Any insight?
>
>
> Works fine with mine.
>
>> version
>         _
> platform i686-pc-linux-gnu
> arch     i686
> os       linux-gnu
> system   i686, linux-gnu
> status
> major    2
> minor    1.0
> year     2005
> month    04
> day      18
> language R
>>
>
> Something to do with the patch, perhaps?

There is no patch on the X11 device.

The dpi of the screen does come into this.  It is quite possible that
2.0.1 failed to scale for the screen dpi and so was using the wrong set of 
fonts (it used 75dpi unless the screen was 100+/-0.5 dpi).  So I think PD 
was correct: this does indicate a problem in the installed fonts: perhaps 
the 100dpi set is missing.

-- 
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-help mailing list