% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/forestsave.R
\name{embed_plot_fonts}
\alias{embed_plot_fonts}
\title{Embed fonts in a PDF after it is written}
\usage{
embed_plot_fonts(file, quiet = FALSE)
}
\arguments{
\item{file}{Character string giving the path to the written file.}

\item{quiet}{Logical. Suppress the confirmation message.}
}
\value{
Invisibly returns \code{TRUE} where the fonts were embedded and
  \code{FALSE} otherwise.
}
\description{
Post-processes a PDF so that its fonts are embedded, through
\code{grDevices::embedFonts()}. This is offered as an alternative to drawing
with a Cairo device, which embeds fonts but renders italics unreliably.
If Cairo is not selected, embedding is performed by Ghostscript (external).
}
\keyword{internal}
