Skip to contents

Declares a font face for pz_stage_fonts(), served by Bunny Fonts (https://fonts.bunny.net), a GDPR-friendly foundry that mirrors the Google Fonts collection and stylesheet format.

Usage

pz_font_bunny(family, weight = 400, style = "normal")

Arguments

family

The font family name, exactly as Google Fonts spells it, e.g. "Open Sans".

weight

Font weight, a number from 1 to 1000 (400 is regular, 700 is bold).

style

"normal" (the default) or "italic".

Value

A font object for pz_stage_fonts().

Examples

pz_font_bunny("Inter", style = "italic")
#> <paparazzi font> Inter (bunny, weight 400, italic)