diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-07 19:28:34 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-07 19:28:34 +0200 |
| commit | 13230db68c3cb2842f23f95fc1b47fd989e6277d (patch) | |
| tree | b0bf94a8e3f935a7e9076237783846dee14e3e81 /src/export | |
| parent | d2e220245d9c17a0ac8c3474984924f65ed6b835 (diff) | |
Fix some clippy warnings ✔
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; |
