eps2pdf: Distill EPS to PDF

View source: R/eps2pdf.R

eps2pdfR Documentation

Distill EPS to PDF

Description

Tighten bounding box of EPS file and distill to PDF.

Usage

eps2pdf(epsfile, margin = 3)

Arguments

epsfile

EPS file to tighten and distill.

margin

number of points between ink and the edge of the page, or NULL to skip tightening.

Value

NULL, but alters EPS file and creates PDF file.

Note

Old epsfile is overwritten.

Similar EPS files can become misaligned when tightened, depending on whether text has descenders, etc.

Requires shell script 2pdf and Ghostscript.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.