{"id":16856617,"url":"https://github.com/grovesnl/glyphon","last_synced_at":"2025-05-14T00:07:48.250Z","repository":{"id":38340088,"uuid":"490276512","full_name":"grovesNL/glyphon","owner":"grovesNL","description":"🦅🦁 Fast, simple 2D text renderer for wgpu","archived":false,"fork":false,"pushed_at":"2025-04-11T15:15:06.000Z","size":381,"stargazers_count":541,"open_issues_count":12,"forks_count":62,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T15:56:50.088Z","etag":null,"topics":["2d","glyph","render","rust","text","wgpu"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grovesNL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","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,"zenodo":null},"funding":{"github":["grovesNL"]}},"created_at":"2022-05-09T12:38:01.000Z","updated_at":"2025-04-11T15:13:27.000Z","dependencies_parsed_at":"2023-10-13T06:26:52.993Z","dependency_job_id":"3a2f6675-0584-4362-9475-3092f3f8049e","html_url":"https://github.com/grovesNL/glyphon","commit_stats":{"total_commits":81,"total_committers":3,"mean_commits":27.0,"dds":"0.11111111111111116","last_synced_commit":"ddaaae295c91f18d72725cba2b0784b5496e6356"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovesNL%2Fglyphon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovesNL%2Fglyphon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovesNL%2Fglyphon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grovesNL%2Fglyphon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grovesNL","download_url":"https://codeload.github.com/grovesNL/glyphon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043856,"owners_count":22005027,"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":["2d","glyph","render","rust","text","wgpu"],"created_at":"2024-10-13T14:04:50.229Z","updated_at":"2025-05-14T00:07:48.235Z","avatar_url":"https://github.com/grovesNL.png","language":"Rust","funding_links":["https://github.com/sponsors/grovesNL"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  🦅 glyphon 🦁\n\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n  Fast, simple 2D text rendering for \u003ca href=\"https://github.com/gfx-rs/wgpu/\"\u003e\u003ccode\u003ewgpu\u003c/code\u003e\u003c/a\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://crates.io/crates/glyphon\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/glyphon.svg?label=glyphon\" alt=\"crates.io\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.rs/glyphon\"\u003e\u003cimg src=\"https://docs.rs/glyphon/badge.svg\" alt=\"docs.rs\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/min%20rust-1.60-green.svg\" alt=\"Minimum Rust Version\"\u003e\n  \u003ca href=\"https://github.com/grovesNL/glyphon/actions\"\u003e\u003cimg src=\"https://github.com/grovesNL/glyphon/workflows/CI/badge.svg?branch=main\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## What is this?\n\nThis crate provides a simple way to render 2D text with [`wgpu`](https://github.com/gfx-rs/wgpu/) by:\n\n- shaping/calculating layout/rasterizing glyphs (with [`cosmic-text`](https://github.com/pop-os/cosmic-text/))\n- packing the glyphs into texture atlas (with [`etagere`](https://github.com/nical/etagere/))\n- sampling from the texture atlas to render text (with [`wgpu`](https://github.com/gfx-rs/wgpu/))\n\nTo avoid extra render passes, rendering uses existing render passes (following the middleware pattern described in [`wgpu`'s Encapsulating Graphics Work wiki page](https://github.com/gfx-rs/wgpu/wiki/Encapsulating-Graphics-Work).\n\n## License\n\nThis project is licensed under either [Apache License, Version 2.0](LICENSE-APACHE), [zlib License](LICENSE-ZLIB), or [MIT License](LICENSE-MIT), at your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache 2.0 license, shall be triple licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrovesnl%2Fglyphon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrovesnl%2Fglyphon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrovesnl%2Fglyphon/lists"}