verovioxide-data
Bundled SMuFL fonts and resources for verovioxide.
Overview
This crate provides the SMuFL music fonts and resource files required by Verovio. It's automatically included as a dependency of verovioxide when the bundled-data feature is enabled (default).
Most users don't need to use this crate directly.
Included Fonts
| Font | Feature | Default | Description |
|---|---|---|---|
| Leipzig | font-leipzig |
Yes | Default Verovio font, traditional engraving style |
| Bravura | font-bravura |
No | Reference SMuFL font by Steinberg |
| Gootville | font-gootville |
No | Handwritten style font |
| Leland | font-leland |
No | MuseScore's default font |
| Petaluma | font-petaluma |
No | Handwritten jazz style font |
Note: Bravura baseline data is always included as it's required for Verovio's glyph name table.
Features
[]
# Default: Leipzig font only
= "0.1"
# Specific fonts
= { = "0.1", = ["font-bravura", "font-leland"] }
# All fonts
= { = "0.1", = ["all-fonts"] }
Usage
use ;
// Extract resources to a temporary directory
let dir = resource_dir?;
println!;
// List available fonts
for font in available_fonts
Related Crates
verovioxide- High-level safe Rust APIverovioxide-sys- Raw FFI bindings
License
This project is licensed under the Apache License 2.0.
SMuFL fonts have their own licenses:
- Leipzig: SIL Open Font License
- Bravura: SIL Open Font License
- Gootville: SIL Open Font License
- Leland: SIL Open Font License
- Petaluma: SIL Open Font License