% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fonts.R
\name{font_cache_dir}
\alias{font_cache_dir}
\title{Get font cache directory}
\usage{
font_cache_dir(persistent = TRUE)
}
\arguments{
\item{persistent}{Logical. If TRUE (default), uses persistent cache via
\code{tools::R_user_dir()}. If FALSE or if persistent cache is unavailable,
uses a session-specific temporary directory.}
}
\value{
A character path to the cache directory.
}
\description{
Returns the directory where cardargus caches downloaded font files.
Fonts in this directory are automatically embedded in SVG/PNG exports.
}
