diff --git a/Cargo.toml b/Cargo.toml index 39ae279..e1c2149 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "glyphon" +name = "iced_glyphon" description = "Fast, simple 2D text rendering for wgpu" -version = "0.5.0" +version = "0.6.0" edition = "2021" -homepage = "https://github.com/grovesNL/glyphon.git" -repository = "https://github.com/grovesNL/glyphon" +homepage = "https://github.com/hecrj/glyphon.git" +repository = "https://github.com/hecrj/glyphon" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] diff --git a/README.md b/README.md index cc5f99a..d0e2bf3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- 🦅 glyphon 🦁 + 🧊🦅 iced_glyphon 🦁🧊

Fast, simple 2D text rendering for wgpu @@ -14,13 +14,11 @@ ## What is this? -This crate provides a simple way to render 2D text with [`wgpu`](https://github.com/gfx-rs/wgpu/) by: +This is a temporary fork of [`glyphon`] used by [`iced`] until [this `wgpu` issue] is fixed. -- shaping/calculating layout/rasterizing glyphs (with [`cosmic-text`](https://github.com/pop-os/cosmic-text/)) -- packing the glyphs into texture atlas (with [`etagere`](https://github.com/nical/etagere/)) -- sampling from the texture atlas to render text (with [`wgpu`](https://github.com/gfx-rs/wgpu/)) - -To 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). +[`glyphon`]: https://github.com/grovesNL/glyphon +[`iced`]: https://github.com/iced-rs/iced +[this `wgpu` issue]: https://github.com/gfx-rs/wgpu/issues/5756 ## License