Rename to cryoglyph

This commit is contained in:
Héctor Ramón Jiménez 2025-03-09 00:02:29 +01:00
parent ba9d0ba054
commit 3c455a9475
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 16 additions and 21 deletions

View file

@ -1,10 +1,9 @@
[package] [package]
name = "iced_glyphon" name = "cryoglyph"
description = "Fast, simple 2D text rendering for wgpu" description = "Fast, simple 2D text rendering for wgpu"
version = "0.6.0" version = "0.1.0"
edition = "2021" edition = "2021"
homepage = "https://github.com/hecrj/glyphon.git" repository = "https://github.com/iced-rs/cryoglyph"
repository = "https://github.com/hecrj/glyphon"
license = "MIT OR Apache-2.0 OR Zlib" license = "MIT OR Apache-2.0 OR Zlib"
[dependencies] [dependencies]

View file

@ -1,29 +1,25 @@
<h1 align="center">
🧊🦅 iced_glyphon 🦁🧊
</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>
</div> # cryoglyph
<br />
<div align="center"> [![Crates.io](https://img.shields.io/crates/v/cryoglyph.svg)](https://crates.io/crates/cryoglyph)
<a href="https://crates.io/crates/glyphon"><img src="https://img.shields.io/crates/v/glyphon.svg?label=glyphon" alt="crates.io"></a> [![License](https://img.shields.io/crates/l/cryoglyph.svg)](https://github.com/iced-rs/cryoglyph/blob/master/LICENSE)
<a href="https://docs.rs/glyphon"><img src="https://docs.rs/glyphon/badge.svg" alt="docs.rs"></a> [![Downloads](https://img.shields.io/crates/d/cryoglyph.svg)](https://crates.io/crates/cryoglyph)
<img src="https://img.shields.io/badge/min%20rust-1.60-green.svg" alt="Minimum Rust Version"> [![Test Status](https://img.shields.io/github/actions/workflow/status/iced-rs/cryoglyph/test.yml?branch=master&event=push&label=test)](https://github.com/iced-rs/cryoglyph/actions)
<a href="https://github.com/grovesNL/glyphon/actions"><img src="https://github.com/grovesNL/glyphon/workflows/CI/badge.svg?branch=main" alt="Build Status" /></a> [![Discord Server](https://img.shields.io/discord/628993209984614400?label=&labelColor=6A7EC2&logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/3xZJ65GAhd)
Fast, simple 2D text rendering for [`wgpu`](https://github.com/gfx-rs/wgpu).
</div> </div>
## What is this? ## What is this?
A fork of [`glyphon`], mainly used by [`iced`].
This is a temporary fork of [`glyphon`] used by [`iced`] until [this `wgpu` issue] is fixed.
[`glyphon`]: https://github.com/grovesNL/glyphon [`glyphon`]: https://github.com/grovesNL/glyphon
[`iced`]: https://github.com/iced-rs/iced [`iced`]: https://github.com/iced-rs/iced
[this `wgpu` issue]: https://github.com/gfx-rs/wgpu/issues/5756
## License ## License
This project is licensed under either [Apache License, Version 2.0](LICENSE-APACHE), [zlib License](LICENSE-ZLIB), or [MIT License](LICENSE-MIT), at your option. This project is licensed under either [Apache License, Version 2.0](LICENSE-APACHE), [zlib License](LICENSE-ZLIB), or [MIT License](LICENSE-MIT), at your option.
## Contribution ## Contribution
Unless 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. Unless 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.

View file

@ -1,4 +1,4 @@
use glyphon::{ use cryoglyph::{
Attrs, Buffer, Cache, Color, Family, FontSystem, Metrics, Resolution, Shaping, SwashCache, Attrs, Buffer, Cache, Color, Family, FontSystem, Metrics, Resolution, Shaping, SwashCache,
TextArea, TextAtlas, TextBounds, TextRenderer, Viewport, TextArea, TextAtlas, TextBounds, TextRenderer, Viewport,
}; };