diff options
| author | Tobias Schmitz <tobiasschmitz2001@gmail.com> | 2025-05-28 17:47:35 +0200 |
|---|---|---|
| committer | Tobias Schmitz <tobiasschmitz2001@gmail.com> | 2025-07-03 15:58:07 +0200 |
| commit | cc70a785ddea08375db23d26e2fd6df7f11b5e62 (patch) | |
| tree | b5cefc008ee62c4ad85d40fd7ac83da059909a02 /crates/typst-render | |
| parent | e8ea83751433b6041900c2bd0e163bd92ed80f9f (diff) | |
feat: [WIP] allow specifying alt text for links
skip-checks:true
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date: Wed May 28 17:47:35 2025 +0200
#
# On branch pdf-accessibility
# Your branch and 'origin/pdf-accessibility' have diverged,
# and have 11 and 5 different commits each, respectively.
#
# Changes to be committed:
# modified: crates/typst-ide/src/jump.rs
# modified: crates/typst-layout/src/flow/distribute.rs
# modified: crates/typst-layout/src/modifiers.rs
# modified: crates/typst-library/src/foundations/content.rs
# modified: crates/typst-library/src/layout/frame.rs
# modified: crates/typst-library/src/model/bibliography.rs
# modified: crates/typst-library/src/model/footnote.rs
# modified: crates/typst-library/src/model/link.rs
# modified: crates/typst-library/src/model/outline.rs
# modified: crates/typst-library/src/model/reference.rs
# modified: crates/typst-pdf/src/convert.rs
# modified: crates/typst-pdf/src/link.rs
# modified: crates/typst-render/src/lib.rs
# modified: crates/typst-svg/src/lib.rs
# modified: tests/src/run.rs
#
Diffstat (limited to 'crates/typst-render')
| -rw-r--r-- | crates/typst-render/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-render/src/lib.rs b/crates/typst-render/src/lib.rs index f43cd019..3ecae4ba 100644 --- a/crates/typst-render/src/lib.rs +++ b/crates/typst-render/src/lib.rs @@ -167,7 +167,7 @@ fn render_frame(canvas: &mut sk::Pixmap, state: State, frame: &Frame) { FrameItem::Image(image, size, _) => { image::render_image(canvas, state.pre_translate(*pos), image, *size); } - FrameItem::Link(_, _) => {} + FrameItem::Link(..) => {} FrameItem::Tag(_) => {} } } |
