mirror of
https://github.com/penpot/penpot.git
synced 2026-07-26 16:08:09 +00:00
🐛 Fix render of text baseline (wasm)
This commit is contained in:
parent
0b3fc6a663
commit
d048a251f1
Binary file not shown.
|
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 216 KiB |
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user