diff options
Diffstat (limited to 'src/export/pdf.rs')
| -rw-r--r-- | src/export/pdf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/pdf.rs b/src/export/pdf.rs index bb688118..76fc59b8 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -249,8 +249,8 @@ impl<'d, W: Write> ExportProcess<'d, W> { }, LayoutAction::SetFont(id, size) => { - active_font = (self.font_remap[id], *size); - text.tf(active_font.0 as u32 + 1, *size); + active_font = (self.font_remap[id], size.to_pt()); + text.tf(active_font.0 as u32 + 1, size.to_pt()); } LayoutAction::WriteText(string) => { |
