X11 font at size 22 could not be loaded

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
02 Oct 2002 00:03:39 +0200


Peter Kleiweg <kleiweg@let.rug.nl> writes:

> > I've seen this on a SuSE install at our place too. The direct cause
> > seems to be that the SuSE font server doesn't allow scaled versions of
> > the standard Adobe fonts. However, the logic in the X11 driver should
> > cause it to substitute a 20pt font in that case, but apparently it
> > doesn't. A temporary workaround might be to add scaled versions of the
> > PS fonts in /etc/X11/fs/config.
> 
> The weird thing is, in some cases, you do get another font size.
> Sometimes I get a warning, not an error:
> 
> Warning message:
> X11 used font size 8 when 6 was requested

That's not weird, that's what should happen.... The logic (at least
the intended one!) in the driver would be to give you "used font size
20 when 22 was requested" if there are no scalable fonts.

Oho! I think I see it: If you're using only nonscalable fonts, you are
assumed to have all the Adobe design sizes,

8, 10, 11, 12, 14, 17, 18, 20, 24, 25, 34

but some of these (11, 17, 20, 25, 34) are only available if you also
install 100dpi fonts. With only the 75dpi fonts, all you get is 8, 10,
12, 14, 18, 24. The logic in the driver doesn't catch this cas
properly, which it probably should.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._