Skip to content

Commit 4d3f05e

Browse files
authored
Reimplement #22722 after it was lost in the parley migration. (#22962)
# Objective - This fix was lost in the parley migration (#22879). ## Solution - Do the same thing as #22722. ## Testing - PixelEagle should show the diff. The edges of some characters look nicer! - This doesn't seem to fully fix things, as shuffling the order that glyphs are allocated makes things look different in some cases.
1 parent cf35f37 commit 4d3f05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_text/src/font_atlas.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl FontAtlas {
6161
Self {
6262
texture_atlas,
6363
glyph_to_atlas_index: HashMap::default(),
64-
dynamic_texture_atlas_builder: DynamicTextureAtlasBuilder::new(size, 1),
64+
dynamic_texture_atlas_builder: DynamicTextureAtlasBuilder::new(size, 2),
6565
texture,
6666
}
6767
}

0 commit comments

Comments
 (0)