Text library moved from libcosmic

This commit is contained in:
Jeremy Soller 2022-10-18 12:07:22 -06:00
commit 410d4ee674
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
37 changed files with 12909 additions and 0 deletions

14
README.md Normal file
View file

@ -0,0 +1,14 @@
# COSMIC Text
An example showcasing multi-line text shaping and rendering.
All the example code is located in the __[`main`](src/main.rs)__ file.
You can run it with `cargo run`:
```
cargo run --package text --release
```
To test with a monospace font, you can run it with the `mono` feature:
```
cargo run --package text --features mono --release
```