Text integration tracking issue
@cmyr is already working on this.
Since Sep 8, 2020.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
A tracking issue, largely for my own benefit, detailing the various bits of work involved in incorporating the new piet text stuff into druid.
- [x] a basic `TextLayout` component that can be used to draw simple text. (#1182)
- [x] expose max width and line breaking (#1195)
- [x] expose text alignment (#1210)
- [ ] support in layout for indicating baseline positions, add baseline option to flex container #1295
- [x] Add a rich-text type ~based on xi-rope~ #1255
- [ ] improve documentation (maybe a book chapter?) covering various text API use cases
- [ ] ensure that label correctly marks its paint insets (especially important for overflow)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.