Carry XDV device advances through packed box scopes
This commit is contained in:
1 parent
9da75c82f5
commit
9efededf6d
14 files changed
+252
-83
No files matched your search
@@ -244,10 +244,7 @@ impl NativeText {
|
||||
if self.xdv {
|
||||
// xdvipdfmx follows the advances in the DVI/XDV stream. The PDF
|
||||
// viewer separately uses the embedded font's declared widths.
|
||||
return crate::pdf_device::magnify(
|
||||
font.metrics().xdv_width(slot),
|
||||
1000 + font.expansion,
|
||||
);
|
||||
return font.xdv_advance(slot);
|
||||
}
|
||||
let expansion = self.expansion;
|
||||
let advance = match &paint.program {
|
||||
|
||||
Reference in new issue
Block a user