libcosmic-yoda/examples/text
2022-10-07 16:14:26 -06:00
..
res Fix arabic sample 2022-10-07 14:41:22 -06:00
src Shorten sections compared for font fallback. 2022-10-07 16:14:26 -06:00
Cargo.toml Default to swash, it supports ligatures more better 2022-10-07 12:00:45 -06:00
README.md Update readmes 2022-10-03 14:00:42 -06:00

Text

An example showcasing multi-line text shaping and rendering.

All the example code is located in the main 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