{"id":23418136,"url":"https://github.com/kardwen/verglas","last_synced_at":"2025-10-30T05:31:16.786Z","repository":{"id":269325478,"uuid":"900615961","full_name":"kardwen/verglas","owner":"kardwen","description":"🧊 Iced SVG icon font generator","archived":false,"fork":false,"pushed_at":"2025-01-27T22:56:43.000Z","size":34,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T23:30:23.991Z","etag":null,"topics":["font","fonts","iced","iced-rs","rust","rust-lang","svg","svg-icons","svg2ttf","truetype","ttf"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kardwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-09T06:34:53.000Z","updated_at":"2025-01-27T17:33:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9207ab3-72db-4d78-8aaa-045337c8c220","html_url":"https://github.com/kardwen/verglas","commit_stats":null,"previous_names":["kardwen/verglas"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kardwen%2Fverglas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kardwen%2Fverglas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kardwen%2Fverglas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kardwen%2Fverglas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kardwen","download_url":"https://codeload.github.com/kardwen/verglas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238935972,"owners_count":19555124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["font","fonts","iced","iced-rs","rust","rust-lang","svg","svg-icons","svg2ttf","truetype","ttf"],"created_at":"2024-12-23T00:15:24.881Z","updated_at":"2025-10-30T05:31:11.521Z","avatar_url":"https://github.com/kardwen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# verglas\n\n[![Documentation](https://docs.rs/verglas/badge.svg)](https://docs.rs/verglas)\n[![crates.io](https://img.shields.io/crates/v/verglas.svg)](https://crates.io/crates/verglas)\n[![License](https://img.shields.io/crates/l/verglas.svg)](https://github.com/kardwen/verglas/blob/main/LICENSE)\n[![Downloads](https://img.shields.io/crates/d/verglas.svg)](https://crates.io/crates/verglas)\n\n🧊 Iced SVG icon font generator\n\n## Introduction\n\nThis 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](https://github.com/iced-rs/iced) GUI library. Essentially, it aims to provide the functionality of [`svg2ttf`](https://github.com/fontello/svg2ttf) as a pure Rust library.\n\n*This library is currently experimental.*\n\nFor more details, please have a look at the [documentation](https://docs.rs/verglas).\n\nThe name \"verglas\" refers to a thin layer of transparent ice that forms on surfaces under certain climatic conditions.\n\n## Example\n\nThe [example](https://github.com/kardwen/verglas/tree/main/example) showcases how different SVG icon sets (in particular a subset of [Jam icons](https://github.com/michaelampr/jam) and some custom icons) can be combined into a font and loaded in an Iced app.\n\n\u003cimg src=\"verglas-example.png\" width=\"50%\"\u003e\n\nBuild and run the example with:\n\n```sh\ncargo run --locked --package example\n```\n\n## Development\n\nContributions are very welcome!\n\nWhile I initially developed `verglas` for Iced, I hope it will be useful for other use cases that I haven't thought of yet.\n\nLibraries used:\n\n* [usvg](https://github.com/linebender/resvg/tree/main/crates/usvg) for parsing and simplifying SVG files\n* [kurbo](https://github.com/linebender/kurbo) for converting cubic Bézier curves to quadratic Bézier curves\n* Crates from the [fontations](https://github.com/googlefonts/fontations) project for reading and writing fonts\n\nMore helpful links:\n\n* [FontForge](https://fontforge.org/)\n* [Rust API Guidelines](https://rust-lang.github.io/api-guidelines/)\n\nNotes:\n\n* Set flag `--all-features` for cargo commands to activate all features of all packages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkardwen%2Fverglas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkardwen%2Fverglas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkardwen%2Fverglas/lists"}