EMF Graphics Output Device

Output graphics to EMF+/EMF.


v2.0 -- 29 Jan 2015 -switch to platform-specific font metric code instead of accessing the AFM files supplied with core R via a non-public R API (this previous approach violated CRAN policy). The primary downside is that the new code will not operate on non-OSX, non-Windows platforms unless X windows is installed along with the Xft development headers. It should work on OSX and Windows out of the box; please contact me if you have trouble (I primarily work on linux). -bug fix: EMF polygon record had potential rounding mismatch between vertex coordinates and bounding box coordinates. -bug fix: when PS_NULL, set pen BS_NULL (although seems unnecessary in practice)

v1.2-1 -- 18 Feb 2013

  • Bug fix: EMF custom line types not working properly for solid lines. (Thanks to Nis Martensen for reporting and patching)

v1.2 -- 22 Feb 2012

  • Bug fix: TextUTF8 used incorrect vertical alignment. (Thanks to Jared Decker for reporting)
  • change yLineBias to be 0.2 for compatibility with R >= 2.14

v1.1 -- 6 Feb 2012

  • Add support for different line end and join styles. (Thanks to Mathias Walter for suggesting)


  • Amend help to mention that partial transparency is not supported by the EMF format


  • Been using for 6mo with no problems; bump version to 1.
  • Replace remaining few uses of printf with Rprintf


  • Placed package within NAMESPACE (in prep for R-2.14.0)
  • modified ps_fonts.h to make compatible with R-2.14.0 revised handling of gzip i/o

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.6 by Philip Johnson, 4 months ago

Browse source code at https://github.com/cran/devEMF

Authors: Philip Johnson

Documentation:   PDF Manual  

GPL-3 license

System requirements: Xft or zlib (only needed for platforms other than OSX and Windows)

Imported by Fgmutils.

Suggested by fitTetra, officer, splot.

See at CRAN