From p.dalgaard@biostat.ku.dk  Sat Apr  8 09:38:18 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 08 Apr 2000 10:38:18 +0200
Subject: xfig device (was [Rd] Re: [R] MetaPost device?)
In-Reply-To: Prof Brian D Ripley's message of "Sat, 8 Apr 2000 08:05:26 +0100 (BST)"
References: <Pine.GSO.4.05.10004080721170.7242-100000@auk.stats>
Message-ID: <x2em8hyolh.fsf@blueberry.kubism.ku.dk>

Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:

> Are we not just discussing a xfig driver for R, and R's driver model only
> writes single text strings at specified (x,y) locations?  So test output
> from an R xfig driver would not be richly structured?  Yes, there is
> kerning but there is using postscript fonts directly, surely?
> By the time a dvixx driver is reading the dvi file the kerning has been
> done, but the information is all there in the tfm, and the format is
> readily available (e.g. in tftopl).

But what about plotmath? If we want to get the equivalent of
\alpha*\text{threshold}_i (say) to come out right then we need to know
the length of "threshold" in the relevant font... Of course you could
(potentially) get the driver to output actual TeX, but then you have
no inkling about the total size of the formula object, and it comes
out as TeX code inside XFig. Xfig is pretty much geared towards
postscript fonts, so I suppose the most practical thing to do is to
assume PS as the final target and accept the approximations caused by
the screen fonts while previewing. 

-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


xfig device (was [Rd] Re: [R] MetaPost device?)
Peter Dalgaard BSA