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]
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]

View file

@ -1,29 +1,25 @@
<h1 align="center">
🧊🦅 iced_glyphon 🦁🧊
</h1>
<div align="center">
Fast, simple 2D text rendering for <a href="https://github.com/gfx-rs/wgpu/"><code>wgpu</code></a>
</div>
<br />
<div align="center">
<a href="https://crates.io/crates/glyphon"><img src="https://img.shields.io/crates/v/glyphon.svg?label=glyphon" alt="crates.io"></a>
<a href="https://docs.rs/glyphon"><img src="https://docs.rs/glyphon/badge.svg" alt="docs.rs"></a>
<img src="https://img.shields.io/badge/min%20rust-1.60-green.svg" alt="Minimum Rust Version">
<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>
# 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).
</div>
## 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.

View file

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