Implement native PDF links and vertical discard lists

This commit is contained in:
gloamxun committed 2026-11-18 23:39:45 +08:00
1 parent b6567f67e2
commit a53d9c9bf9
29 files changed
+980 -109

No files matched your search

+2
View File
@@ -244,6 +244,7 @@ pub struct DisplayList {
pub magnification: i32,
pub units: DisplayUnits,
pub pdf: Option<crate::pdf_device::PdfPageData>,
pub pdf_links: crate::pdf_device::links::PageLinks,
}
impl Default for DisplayList {
fn default() -> Self {
@@ -256,6 +257,7 @@ impl Default for DisplayList {
magnification: 1000,
units: DisplayUnits::PostScript,
pdf: None,
pdf_links: Default::default(),
}
}
}