From 3c455a947534e65408c3b0016d8dfe3e11dfb3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sun, 9 Mar 2025 00:02:29 +0100 Subject: [PATCH] Rename to `cryoglyph` --- Cargo.toml | 7 +++---- README.md | 28 ++++++++++++---------------- examples/hello-world.rs | 2 +- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e1c2149..bbbdd3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,9 @@ [package] -name = "iced_glyphon" +name = "cryoglyph" description = "Fast, simple 2D text rendering for wgpu" -version = "0.6.0" +version = "0.1.0" edition = "2021" -homepage = "https://github.com/hecrj/glyphon.git" -repository = "https://github.com/hecrj/glyphon" +repository = "https://github.com/iced-rs/cryoglyph" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] diff --git a/README.md b/README.md index d0e2bf3..1cdfff7 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,25 @@ -

- 🧊🦅 iced_glyphon 🦁🧊 -

- Fast, simple 2D text rendering for wgpu -
-
-
- crates.io - docs.rs - Minimum Rust Version - Build Status + +# cryoglyph + +[![Crates.io](https://img.shields.io/crates/v/cryoglyph.svg)](https://crates.io/crates/cryoglyph) +[![License](https://img.shields.io/crates/l/cryoglyph.svg)](https://github.com/iced-rs/cryoglyph/blob/master/LICENSE) +[![Downloads](https://img.shields.io/crates/d/cryoglyph.svg)](https://crates.io/crates/cryoglyph) +[![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) +[![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). +
## What is this? - -This is a temporary fork of [`glyphon`] used by [`iced`] until [this `wgpu` issue] is fixed. +A fork of [`glyphon`], mainly used by [`iced`]. [`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 - 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 - 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. diff --git a/examples/hello-world.rs b/examples/hello-world.rs index 398343d..8f3ef83 100644 --- a/examples/hello-world.rs +++ b/examples/hello-world.rs @@ -1,4 +1,4 @@ -use glyphon::{ +use cryoglyph::{ Attrs, Buffer, Cache, Color, Family, FontSystem, Metrics, Resolution, Shaping, SwashCache, TextArea, TextAtlas, TextBounds, TextRenderer, Viewport, };