Rename to iced_glyphon
and explain the reason of the fork
This commit is contained in:
parent
09712a70df
commit
59a3ecef65
2 changed files with 9 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "glyphon"
|
name = "iced_glyphon"
|
||||||
description = "Fast, simple 2D text rendering for wgpu"
|
description = "Fast, simple 2D text rendering for wgpu"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
homepage = "https://github.com/grovesNL/glyphon.git"
|
homepage = "https://github.com/hecrj/glyphon.git"
|
||||||
repository = "https://github.com/grovesNL/glyphon"
|
repository = "https://github.com/hecrj/glyphon"
|
||||||
license = "MIT OR Apache-2.0 OR Zlib"
|
license = "MIT OR Apache-2.0 OR Zlib"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
12
README.md
12
README.md
|
@ -1,5 +1,5 @@
|
||||||
<h1 align="center">
|
<h1 align="center">
|
||||||
🦅 glyphon 🦁
|
🧊🦅 iced_glyphon 🦁🧊
|
||||||
</h1>
|
</h1>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
Fast, simple 2D text rendering for <a href="https://github.com/gfx-rs/wgpu/"><code>wgpu</code></a>
|
Fast, simple 2D text rendering for <a href="https://github.com/gfx-rs/wgpu/"><code>wgpu</code></a>
|
||||||
|
@ -14,13 +14,11 @@
|
||||||
|
|
||||||
## What is this?
|
## 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/))
|
[`glyphon`]: https://github.com/grovesNL/glyphon
|
||||||
- packing the glyphs into texture atlas (with [`etagere`](https://github.com/nical/etagere/))
|
[`iced`]: https://github.com/iced-rs/iced
|
||||||
- sampling from the texture atlas to render text (with [`wgpu`](https://github.com/gfx-rs/wgpu/))
|
[this `wgpu` issue]: https://github.com/gfx-rs/wgpu/issues/5756
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue