From maechler at stat.math.ethz.ch  Fri Nov 14 10:13:04 2003
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Fri Nov 14 10:12:02 2003
Subject: [Rd] plotmath problems with X11 fonts (Redhat 9)
Message-ID: <16308.40096.484250.936454@gargle.gargle.HOWL>

We've only switched from redhat 7.3 to 9 several weeks ago, and
I found today, that the last three pages
of
	demo(plotmath)
uses quite wrong plot symbols, e.g  
sum(....) gives (+) {+ in circle} instead of the Sigma-like
summation --- but only in "text" not in title, i.e., probably a
font problem.
With postscript() {and hence dev.print() of x11()} all is fine.
Hence it must be an X font server problem of some kind.
Here is a reproducible example:

 xsum <- expression(sum(x[i], i = 1, n))
 plot(1.1, main=xsum, xlab=xsum, ylab=xsum)
 text(1,1,xsum)

which produces the graphic that I attach.
If you can try this yourself _and_ if you see the same effect,
could you tell me (or us) what OS / setup / ... you are using?

Could R try better to get proper X11 fonts?

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11-plotmath-sum.png
Type: image/png
Size: 9775 bytes
Desc: not available
Url : https://www.stat.math.ethz.ch/pipermail/r-devel/attachments/20031114/51ae1696/x11-plotmath-sum.png

[Rd] plotmath problems with X11 fonts (Redhat 9)
Martin Maechler