Skip to main content

Module font

Module font 

Source
Expand description

cargo proa font — vendor and inspect self-hosted, metric-matched fonts.

Fonts are declared in code with google_font! / local_font!; the build collector in proa_fonts_build::collect vendors them during cargo build. This command runs the same collector outside a build: sync vendors and locks every declaration right now (or, with --offline, verifies that proa-fonts.lock and the vendored files already satisfy them, the CI gate), and list prints what the lock records.

Structs§

SyncOptions
Options for font sync.

Functions§

list
Print the fonts recorded in proa-fonts.lock.
sync
Vendor and lock every font declared in the project’s source.