import_google_font | R Documentation |
Import google font to be used when drawing charts.
import_google_font(family)
family |
character. font family name |
When attaching the dlookr package, use "Roboto Condensed" and "Noto Sans Korean" among Google fonts. And also loads "Liberation Sans Narrow" and "NanumSquare" included in the package for offline environment.
If you want to use anything other than the 4 fonts that are loaded with the dlookr package, load the desired Google fonts with import_google_font().
dlookr recommends the following google fonts, both sans and condensed: "IBM Plex Sans Condensed", "Encode Sans Condensed", "Barlow Condensed", "Saira Condensed", "Titillium Web", "Oswald", "PT Sans Narrow"
Korean fonts: "Nanum Gothic", "Gothic A1"
No return value. This function just loads Google Fonts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.