Skip to content

feat(outputters): Expose writing of PDF resources to Lua#2308

Open
Omikhleia wants to merge 1 commit intomasterfrom
feat-2251-expose-libtexpdf-add-resource
Open

feat(outputters): Expose writing of PDF resources to Lua#2308
Omikhleia wants to merge 1 commit intomasterfrom
feat-2251-expose-libtexpdf-add-resource

Conversation

@Omikhleia
Copy link
Copy Markdown
Member

(It's the minimal C part of #2251)

This commit extends the low-level C wrapper to libtexpdf to let Lua code add page resources directly to the PDF. This makes it possible to prototype extensions to the Lua outputter without recompiling SILE, and opens the door to features such as gradient support.

This commit extends the low-level C wrapper to libtexpdf to let Lua
code add page resources directly to the PDF. This makes it possible
to prototype extensions to the Lua outputter without recompiling SILE,
and opens the door to features such as gradient support.
@Omikhleia Omikhleia added this to the v0.15.14 milestone Aug 24, 2025
@Omikhleia Omikhleia self-assigned this Aug 24, 2025
@Omikhleia Omikhleia requested a review from alerque as a code owner August 24, 2025 07:10
@Omikhleia Omikhleia added the enhancement Software improvement or feature request label Aug 24, 2025
@Omikhleia Omikhleia modified the milestones: v0.15.14, v0.x.y Feb 8, 2026
@Omikhleia
Copy link
Copy Markdown
Member Author

Removed 0.15.14 milestone (switched to 0.x.y):
There's potentially a way to do this without extending our Lua C bindings, with lower-level libtexpdf construct (as I did in resilient.packages.forms and resilient.packages.attachments) -- I might experiment with it, and this PR is perhaps not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Software improvement or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant