text testbed

Open
#26,619 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Read the existing 2D and UI testbed examples and the bevy_text feature list to understand the current coverage. The issue calls for a separate testbed_text example with individual scenes for the listed text features, plus screenshot CI coverage. Done means the scenes systematically demonstrate those features and the example is included in screenshot CI.

Written by the indexing model from the issue text.

Description

C-Examples C-Testing C-Tracking-Issue S-Ready-For-Implementation

What problem does this solve or what need does it fill?

The 2d and UI testbed both include some text scenes, but I don't feel like it's sufficient and regressions can be easy to miss.

What solution would you like?

A separate testbed_text example that gives us a single place to check text features systematically and identify and isolate regressions.

It should have separate scenes each demonstrating one of bevy_text's features in detail.

Text testbed example

  • Basic text testbed example #26622
  • Hook the text testbed example up to screenshot CI

Scenes

  • font sizing (including very large and very small glyphs) #26622
  • font width
  • weight
  • antialiasing
  • cursors
  • scrolling
  • italic text
  • font variations
  • font features
  • in-flow inline boxes
  • out of flow inline boxes
  • alignment
  • justification
  • line height
  • font discovery
  • system font loading
  • text editing
  • colors
  • text background colors
  • text viewports
  • line breaks
  • wrapping modes
  • strikethrough
  • underline
  • hinting
  • subpixel binning
  • hierarchies
  • scaling
  • emojis
  • non-Latin scripts
  • complex shaping edgecases
  • font fallbacks
  • overflow
  • text shadow
  • text selection
Dominant language
Rust
Stars
49.8k
Forks
5.1k
Avg merge
3d 4h
Merged PRs (30d)
136

Getting set up

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.

More from bevyengine/bevy

All issues in bevyengine/bevy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.