diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-16 10:41:30 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-16 10:41:30 +0100 |
| commit | 0e0f340502beada1cd9ee23857f48b91a0d11a90 (patch) | |
| tree | e4e4087260720adf4bab57edeac6a3d3cb5f14cf /src/export | |
| parent | bc118634aca5de415d211cab38c4eaa3d3cca25f (diff) | |
Revert page and inline levels
Diffstat (limited to 'src/export')
| -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 d517aadf..24944246 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -19,13 +19,13 @@ use crate::geom::{self, Color, Em, Length, Paint, Size}; use crate::image::{Image, ImageId, ImageStore}; use crate::Context; -/// Export a collection of frames into a PDF document. +/// Export a collection of frames into a PDF file. /// /// This creates one page per frame. In addition to the frames, you need to pass /// in the context used during compilation such that things like fonts and /// images can be included in the PDF. /// -/// Returns the raw bytes making up the PDF document. +/// Returns the raw bytes making up the PDF file. pub fn pdf(ctx: &Context, frames: &[Rc<Frame>]) -> Vec<u8> { PdfExporter::new(ctx, frames).write() } |
