str_metrics: Get font metrics for a string.
Description
Get font metrics for a string.
Usage
str_metrics(x, fontname = "sans", fontsize = 12, bold = FALSE,
italic = FALSE, fontfile = "")
Arguments
x
Character vector of strings to measure
Value
A named numeric vector