Add `FontWidth` and `FontWeight` scenes to the `text` testbed example

Open Beginner friendly
#26,684 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
game-dev, testing

Research direction

Start by locating the text testbed example and its existing scenes, then check how it enumerates available fonts and constructs TextFont values. Add separate scenes that show the available fonts across a range of widths and weights, sharing setup if practical. Done when both scenes are available in the text testbed and visibly exercise FontWidth and FontWeight.

Written by the indexing model from the issue text.

Description

Task

Add scenes to the text testbeds testing FontWidth and FontWeight.

Implemenation

I'd suggest two scenes, one for FontWidth and one for FontWeight.

They can just go through all the available fonts displaying them at a wide range of different widths and weights.

Both scenes could share a single setup function, parameterized by some sort of TextFont constructor.

Dominant language
Rust
Stars
50k
Forks
5.1k
Avg merge
2d 20h
Merged PRs (30d)
129

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.