Implement XeTeX OpenType horizontal scaling across layout and preview

This commit is contained in:
gloamxun committed 2026-11-26 10:16:20 +08:00
1 parent cc0246016d
commit 330ecdd03c
7 files changed
+109 -26

No files matched your search

+1 -1
View File
@@ -857,7 +857,7 @@ fn page_content(
},
DisplayItem::OpenTypeGlyph { x, y, size, font, glyph, text, .. } => {
opentype[&font.id].paint(
&mut opentype_text, &mut content, font.id, *glyph, text,
&mut opentype_text, &mut content, font, *glyph, text,
*size, *x - h, height - *y - v, list.units.bp(1),
);
}