| plot_glyph_stats {systemfonts} | R Documentation |
Create a visual representation of what the various glyph stats mean
Description
This function helps you understand the concepts of width, height, bearing, and advance by annotating a glyph with the various measures
Usage
plot_glyph_stats(
glyph,
family = "",
italic = FALSE,
weight = "normal",
width = "undefined",
size = 12,
res = 72,
variation = font_variation(),
path = NULL,
index = 0
)
Arguments
glyph |
The character to plot |
family |
The name of the font families to match |
italic |
logical indicating the font slant |
weight |
The weight to query for, either in numbers ( |
width |
The width to query for either in numbers ( |
size |
The pointsize of the font to use for size related measures |
res |
The ppi of the size related measures |
variation |
A |
path, index |
path an index of a font file to circumvent lookup based on family and style |
Value
This function is called for its side effects
Examples
plot_glyph_stats("g")