linebender / linebender/druid

Text integration tracking issue

Open
#1,192 2 comments 4 reactions 1 assignee View on GitHub

@cmyr is already working on this.

Since Sep 8, 2020.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.