import_myriad: Import all Myriad Pro font faces and styles for use in graphs...

View source: R/fonts.R

import_myriadR Documentation

Import all Myriad Pro font faces and styles for use in graphs as "Myriad Pro".

Description

This will work for devices that use 'systemfonts' to process fonts. For PDFs, use showtext::showtext_auto() beforehand

Usage

import_myriad(family = "Myriad Pro", silent = TRUE)

Arguments

family

The font family you want to import

silent

Report on what's been imported or not

Note

From https://yjunechoe.github.io/posts/2021-06-24-setting-up-and-debugging-custom-fonts/.


kjhealy/myriad documentation built on April 6, 2023, 4:47 p.m.