mirror of
https://github.com/typst/typst
synced 2025-05-13 12:36:23 +08:00
Refactor PDF crate structure 🧱
This commit is contained in:
parent
fe957ccdcd
commit
26f3b80826
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
use std::io::{self, Write};
|
use std::io::{self, Write};
|
||||||
use crate::doc::Document;
|
use crate::doc::Document;
|
||||||
use pdf::{PdfWriter, Id, Rect, Version, DocumentCatalog, PageTree,
|
use pdf::{PdfWriter, Id, Rect, Version, Trailer};
|
||||||
Page, PageData, Resource, font::Type1Font, Text, Trailer};
|
use pdf::doc::{DocumentCatalog, PageTree, Page, PageData, Resource, Text};
|
||||||
|
use pdf::font::Type1Font;
|
||||||
|
|
||||||
|
|
||||||
/// A type that is a sink for documents that can be written in the _PDF_ format.
|
/// A type that is a sink for documents that can be written in the _PDF_ format.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user