| plot_glyph_stats | R Documentation |
This function helps you understand the concepts of width, height, bearing, and advance by annotating a glyph with the various measures
plot_glyph_stats(
glyph,
family = "",
italic = FALSE,
weight = "normal",
width = "undefined",
size = 12,
res = 72,
variation = font_variation(),
path = NULL,
index = 0
)
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 |
This function is called for its side effects
plot_glyph_stats("g")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.