From ripley@stats.ox.ac.uk  Fri Apr 19 12:19:07 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Fri, 19 Apr 2002 12:19:07 +0100 (BST)
Subject: [Rd] wmf on Unix?
In-Reply-To: <Pine.LNX.4.30.0203291237340.25056-100000@bolker.zoo.ufl.edu>
Message-ID: <Pine.LNX.4.31.0204191211210.6742-100000@gannet.stats>

On Fri, 29 Mar 2002, Ben Bolker wrote:

>
>   libEMF (http://sourceforge.net/projects/libemf/) looks like it may be
> the solution to generating WMF/EMF files on Unix.  It's a general-purpose
> (LGPL) library that implements the EMF API ...

Unfortunately it appears not to.  (It says it implements a subset for use
with gnuplot, but even then I don't see how it is enough.) The font
metrics are always returned as false.  I wondered how it was going to do
this without the TrueType fonts in evidence ....

R's graphics model depends pretty crucially on accurate font metrics, and
text positioning is often the trickiest part of writing a graphics driver.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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


[Rd] wmf on Unix?
ripley@stats.ox.ac.uk