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

Improve test of text rendering

This commit is contained in:
Emil Ernerfeldt
2026-03-29 10:00:36 +02:00
parent a01193d032
commit eb35f7d12f
5 changed files with 11 additions and 10 deletions

View File

@@ -13,8 +13,9 @@ fn test_kerning() {
ui.label("Hello world!");
ui.label("Repeated characters: iiiiiiiiiiiii lllllllll mmmmmmmmmmmmmmmm");
ui.label("Thin spaces: 123456789");
ui.label("Ligature: fi :)");
ui.label("\ttabbed");
ui.label("Ligature: fi fl ffi ffl");
ui.label("Kerning: AVATAR");
ui.label("\ttabbed\ttext");
});
harness.run();
harness.fit_contents();