mirror of
https://github.com/bevyengine/bevy
synced 2024-12-14 15:22:30 +00:00
10 lines
434 B
Markdown
10 lines
434 B
Markdown
|
# B0005
|
||
|
|
||
|
A runtime warning.
|
||
|
|
||
|
Separate font atlases are created for each font and font size. This is expensive, and the memory is never reclaimed when e.g. interpolating `TextStyle::font_size` or `UiScale::scale`.
|
||
|
|
||
|
If you need to smoothly scale font size, use `Transform::scale`.
|
||
|
|
||
|
You can disable this warning by setting `TextSettings::allow_dynamic_font_size` to `true` or raise the limit by setting `TextSettings::max_font_atlases`.
|