mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Merge pull request #7729 from penpot/ladybenko-12514-fix-font-variants
🐛 Fix downloading wrong font variant
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user