🐛 Fix render of text baseline (wasm)

This commit is contained in:
Belén Albeza
2025-11-12 14:49:44 +01:00
parent 0b3fc6a663
commit d048a251f1
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 216 KiB

View File

@@ -229,7 +229,7 @@ fn draw_text(
paragraph.paint(canvas, xy);
if paragraph_index == group_len - 1 {
group_offset_y += paragraph.height();
group_offset_y += paragraph.ideographic_baseline();
}
for line_metrics in paragraph.get_line_metrics().iter() {