Add Luciole Family to 'sysfonts'
add_luciole.Rd
Allow to use Luciole font through package showtext.
Arguments
- showtext_auto
Call
showtext::showtext_auto()
to automatically use showtext functionality.
Examples
library(luciole)
library(ggplot2)
# Add font
add_luciole()
# use with ggplot2
ggplot() +
aes(0, 0, label = "lisibilité") +
geom_text(size = 20, family = "Luciole") +
theme_grey(base_family = "Luciole")
# use with base
plot(0, 0, col = "white")
text(
x = 0, y = 0,
labels = "lisibilité",
cex = 5,
family = "Luciole"
)