diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-13 17:53:19 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-13 17:53:19 +0100 |
| commit | e64b2379a88c169c087403c5ae90e98911c0fe7a (patch) | |
| tree | 02b985ba86547d39c9e8bc8a2eeae1dcaeaf2b87 /src/export | |
| parent | 17e9805b34562781d514ba6b0df31155c8d39824 (diff) | |
Disable link boxes in PDF
Diffstat (limited to 'src/export')
| -rw-r--r-- | src/export/pdf/page.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export/pdf/page.rs b/src/export/pdf/page.rs index 1131f760..2ae93fc7 100644 --- a/src/export/pdf/page.rs +++ b/src/export/pdf/page.rs @@ -113,6 +113,7 @@ fn write_page(ctx: &mut PdfContext, page: Page) { for (dest, rect) in page.links { let mut link = annotations.push(); link.subtype(AnnotationType::Link).rect(rect); + link.border(0.0, 0.0, 0.0, None); match dest { Destination::Url(uri) => { link.action().action_type(ActionType::Uri).uri(Str(uri.as_bytes())); |
