1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Fix kerning snapshot test directory

This commit is contained in:
Emil Ernerfeldt
2025-10-09 15:50:36 +02:00
parent d50287b83c
commit 92de16a88c
10 changed files with 16 additions and 14 deletions

View File

@@ -8,6 +8,8 @@ fn test_kerning() {
.with_pixels_per_point(pixels_per_point)
.with_theme(theme)
.build_ui(|ui| {
ui.label("Hello world!");
ui.label("Repeated characters: iiiiiiiiiiiii lllllllll mmmmmmmmmmmmmmmm");
ui.label("Thin spaces: 123456789");
ui.label("Ligature: fi :)");
ui.label("\ttabbed");
@@ -15,7 +17,7 @@ fn test_kerning() {
harness.run();
harness.fit_contents();
harness.snapshot(format!(
"image_blending/image_{theme}_x{pixels_per_point}",
"image_kerning/image_{theme}_x{pixels_per_point}",
theme = match theme {
egui::Theme::Dark => "dark",
egui::Theme::Light => "light",