SecondHalfGames / yakui

yakui is a declarative Rust UI library for games
Apache License 2.0
222 stars 18 forks source link

Text with variable fonts lead to artifacts #112

Closed cybersoulK closed 6 months ago

cybersoulK commented 8 months ago
yakui::widgets::Text::new(100.0 * timer, "Died");

The third time that the text animation occurs, the packing algorithm seems to overlap the font glyphs in the texture atlas

first time animating: Untitled0

third time: Untitled

cybersoulK commented 8 months ago

I am not using variable fonts for animating, but i got the artifacts still at random: So it's possible even without animating fonts size.

image