| Crates.io | verglas |
| lib.rs | verglas |
| version | 0.1.2 |
| created_at | 2024-12-22 18:18:35.422315+00 |
| updated_at | 2025-01-29 22:31:21.573801+00 |
| description | 🧊 Iced SVG icon font generator |
| homepage | |
| repository | https://github.com/kardwen/verglas |
| max_upload_size | |
| id | 1492175 |
| size | 70,604 |
🧊 Iced SVG icon font generator
This crate can be added as a build dependency to automatically generate a TrueType font (.ttf file) from SVG icons in a directory for use with the Iced GUI library. Essentially, it aims to provide the functionality of svg2ttf as a pure Rust library.
This library is currently experimental.
For more details, please have a look at the documentation.
The name "verglas" refers to a thin layer of transparent ice that forms on surfaces under certain climatic conditions.
The example showcases how different SVG icon sets (in particular a subset of Jam icons and some custom icons) can be combined into a font and loaded in an Iced app.
Build and run the example with:
cargo run --locked --package example
Contributions are very welcome!
While I initially developed verglas for Iced, I hope it will be useful for other use cases that I haven't thought of yet.
Libraries used:
More helpful links:
Notes:
--all-features for cargo commands to activate all features of all packages