The name is a reference to Sleipnir, in keeping with other Norse names for our memory safe stuff.
copied from fontations
We use [cargo-release] to help guide the release process. It can be installed
with cargo install cargo-release. You may need to install pkg-config via your
package manager for this to work.
Releasing involves the following steps:
-
Determine which crates may need to be published: run
cargo release changesto see which crates have been modified since their last release. -
Determine the new versions for the crates.
- Before 1.0, breaking changes bump the minor version number, and non-breaking changes modify the patch number.
-
Update manifest versions and release.
./resources/scripts/bump-version.shorchestrates this process.cargo releasedoes all the heavy lifting
# To see usage ./resources/scripts/bump-version.sh # To do the thing ./resources/scripts/bump-version.sh sleipnir patch
-
Commit these changes to a new branch, get it approved and merged, and switch to the up-to-date
main. -
Publish the crates.
./resources/scripts/release.shorchestrates the process.- You will be prompted to review changes along the way
# To see usage ./resources/scripts/release.sh # To do the thing ./resources/scripts/release.sh sleipnir
tosvg is a command-line tool that converts all glyphs in a font file to
individual SVG files.
# Convert all glyphs in a font to SVGs in /tmp/output
cargo run --example tosvg -- --font path/to/font.ttf --output-dir /tmp/output
# Convert with specific variational coordinates (e.g., for a variable font)
cargo run --example tosvg -- --font path/to/font.ttf --coords 0.5,1.0