Description Usage Arguments Examples
View source: R/freetypeharfbuzz.R
* 'font_info()' returns the typographical metrics (ascent, descent, linegap) for a font.
* 'str_info()' returns the metrics (width, height, ascent, descent) for a string. 'str_width()' only returns the width.
1 2 3 4 5 |
font_size |
Font size in point. |
font_file |
Path to a ttf or otf file. |
string |
A string whose metrics will be computed. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.