Implement XeTeX OpenType horizontal scaling across layout and preview
This commit is contained in:
1 parent
cc0246016d
commit
330ecdd03c
7 files changed
+109
-26
No files matched your search
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user