From brahm@alum.mit.edu  Fri Nov  8 21:11:23 2002
From: brahm@alum.mit.edu (David Brahm)
Date: Fri, 8 Nov 2002 16:11:23 -0500
Subject: strwidth(font=NULL)
Message-ID: <15820.10363.591848.18577@gargle.gargle.HOWL>

Hello,

   Would it be possible to give strwidth() and strheight() an argument "font",
that worked like the "cex" argument (i.e. defaults to current par("font"), but
can be overridden)?  Then I could replace this:

  R> oldpar <- par(font=2)
  R> x <- strwidth("hello")
  R> par(oldpar)

with this:

  R> x <- strwidth("hello", font=2)

Thanks!
-- 
                              -- David Brahm (brahm@alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


strwidth(font=NULL)
David Brahm