diff options
Diffstat (limited to 'src/export')
| -rw-r--r-- | src/export/pdf.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export/pdf.rs b/src/export/pdf.rs index ccbc01f1..02b54471 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -141,6 +141,7 @@ impl<'a, W: Write> PdfExporter<'a, W> { for (pos, element) in &page.elements { match element { LayoutElement::Text(shaped) => { + // Check if we need to issue a font switching action. if shaped.face != face || shaped.size != size { face = shaped.face; size = shaped.size; |
