% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/grid-builder.R
\name{.get_glyph_font}
\alias{.get_glyph_font}
\title{Get or create a glyphFont object for a font file}
\usage{
.get_glyph_font(font_file)
}
\arguments{
\item{font_file}{Absolute path to the OTF/TTF font file.}
}
\value{
A \code{glyphFont} object.
}
\description{
Caches \code{grDevices::glyphFont()} objects keyed by file path
so that repeated calls for the same font file reuse the same object.
}
\keyword{internal}
