Skip to content

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

7 messages · Xiang-Jun Lu, Patrick Connolly, Peter Dalgaard +2 more

#
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]:

-------------------------------------------------------------------------
Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
         X11 font at size 14 could not be loaded
_
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?

Thanks,

Xiang-Jun
#
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.
_                
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?
#
Xiang-Jun Lu <xl2134 at columbia.edu> writes:
Haven't seen this on SuSE in the testing phase... Are you running in a
non-English locale by any chance? 

That type of error usually means that you are missing 75 dpi fonts or
100 dpi fonts in the standard Adobe set. However, if it isn't
happening in 2.0.1, I'd suspect that UTF8 codes and/or natural
language support is somehow involved.
#
On Fri, 29 Apr 2005, Patrick Connolly wrote:

            
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.
#
Hi,

Many thanks to Prof. Ripley, Peter Dalgaard, and Patrick Connolly for 
responding to my message. I tried several things, but the problem still 
exists.

[1] I tried
     Version 2.1.0  (2005-04-18),
     Version 2.1.0 Patched (2005-04-20), and
     Version 2.1.0 Patched (2005-04-28)
     Compiled with/without option --disable-mbcs (and/or
      --disable-nls), the result is the same:

     > hist(rnorm(100))
    Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
         X11 font at size 14 could not be loaded

    Interesting,
    > plot(rnorm(100))
      works just fine.

[2] Using YaST, I installed
     XFree86-fonts-100dpi - 100dpi Bitmaps fonts for X11
     which originally was not there, but still have the same error.

As stated previously, this error does not occur with R2.0.1 on the same 
machine. Any clue re what could be wrong with my setting? For my purpose, 
R2.0.1 is sufficient, but it would be nice to get this problem solved.

Thanks and have a good weekend.

Xiang-Jun
On Fri, 29 Apr 2005, Prof Brian Ripley wrote:

            
#
Xiang-Jun Lu <xl2134 at columbia.edu> writes:
Did you restart the X server after the font installation?

FWIW:
I'm seeing the same font size error as you've reported on SuSE 9.2
with R patched.  The 100dpi x.org fonts were not installed.  I haven't
had time to try this fix yet.

+ seth
#
On Fri, 29 Apr 2005, Xiang-Jun Lu wrote:
[...]
We have already explained that 2.0.1 was not using the correct font size, 
and that this is a problem with your X11 setup: probably your 100dpi set 
is not yet functional and you need to tell your X server to use it 
(possibly rebooting will suffice, or you may need to alter a configuration 
file).