-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
A-TextRendering and layout for charactersRendering and layout for charactersC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Milestone
Description
Bevy version
main, after #10193
Additional information
See this run from bevy-example-runner:
https://pixel-eagle.com/project/b25a040a-a980-4602-b90c-d480ab84076d/run/3207/compare/3196?screenshot=UI%20(User%20Interface)/transparency_ui.png
Bevy's default font size and a few examples were updated to compensate, but some examples where the a font size other than the default was specified now may need to be updated.
Dividing the font size by 1.2 and rounding to the nearest whole number will give rendered text roughly the same size as before.
One of the more obvious examples is transparency_ui, where the text no longer fits on one line:
We should
- look through the Pixel Eagle report
- note examples where the font size has significantly changed
- make a judgment about whether to
- divide the specified font size by
1.2ish. - OR, modify the example to use the default text size (and possibly color) instead.
There are various examples where we probably should be using the default values but we are not. e.g.low_power.
- divide the specified font size by
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-TextRendering and layout for charactersRendering and layout for charactersC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
