mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +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`.
|