parley icon indicating copy to clipboard operation
parley copied to clipboard

WIP rich text layout library

Results 105 parley issues
Sort by recently updated
recently updated
newest added

Remove a direct dependency on `core-foundation-sys` by getting `CFRange` from a re-export in `core-foundation`.

It is typical for a font stack to include a GenericFamily. Android and CoreText both have information about ‘UI’ type fonts in fallback, differentiated from general text fonts; and Android...

This is very early and currently just adds comments to (a subset of) the code I happen to have read. But wanted to put this up early: - In case...

## Motivation One may wish to mix textual and non-textual content and have the non-textual content laid out in flow with the text. For example, in order to display images...

parley is currently used in xilem for text stuff. I did some [heap profiling](https://github.com/linebender/xilem/issues/24) and discovered that `FontCache::new()` consumes an absurd amount of memory (1.8 GiB, precise measurements in the...

I am looking into creating my own GUI library in rust. I was researching how I would implement text rendering and stumbled upon the very appealing stack of using swash...

My code looks something like this, based on your code in https://github.com/dfrg/piet-gpu-text ```rust // let font = Font::from_file("assets/fonts/Inter Variable/Inter.ttf", 0).unwrap(); let font = Font::from_file("assets/fonts/ttf/FiraCode-Regular.ttf", 0).unwrap(); let font = font.as_ref(); //...

Add support for Unicode aware line breaking according to UAX #14.

enhancement

This is a little earlier than planned as masonry's dependency on vello was making this awkward to use from masonry (when I am not necessary depending on the same version...

enhancement

- Builds on top of https://github.com/linebender/parley/pull/84 which should be merged first to preserve history ## Changes made - ### Entire unresolved style struct - Adds an "unresolved style struct" (`TextStyle`)...