Repository navigation
Bump PDF and SVG cinematic universe, adding support for multiple PDF standards - #8294
Conversation
6e47d2c to
b943421
Compare
|
Just as a heads-up, with LaurenzV/krilla#390 I will be disabling the Therefore, if you want to keep using zlib-rs you will need to enable the feature yourself now here: Line 60 in 64720d4 |
saecki
left a comment
There was a problem hiding this comment.
The error messages for incompatible standards read nicely!
|
It sounds like #7269 is only partially resolved? |
|
Should be fully resolved. |
Alright, i was just basing it on the final two comments there |
e8ee4ec to
e949f8c
Compare
347d30a to
8b75288
Compare
|
Will make a new krilla release shortly, feel free to ping me when you think it's done then I can take another look. |
941f50a to
0c57506
Compare
- bitflags was explicitly set to 2.10 because otherwise, a dependency resolution conflict did not resolve under `cargo update -p` - hayro, resvg, usvg, roxmltree, and tiny-skia are versioned in lockstep with Krilla and have been updated - Krilla gained the `pretty` configuration option, which we set to `true` to keep the old behavior - hayro's `TypedIterator` does not implement `Iterator`, hence the removal of the `flat_map`.
945aba7 to
8a65357
Compare
|
I don't think #7269 has been fully fixed. The newest version of krilla fixed the issue for SVGs, but not for PDFs. |
Part of the Typst 0.15 cleanup stack. This slice covers export option changes across PNG, SVG, PDF, HTML, CLI rendering, and typlite fixtures. ## Upstream Typst Changes - [`typst/typst#6357`](typst/typst#6357) changes page export and render option handling. Tinymist updates PNG/SVG page export and CLI render option plumbing. - [`typst/typst#8370`](typst/typst#8370) changes merged SVG options. Tinymist updates merged SVG export construction. - [`typst/typst#8371`](typst/typst#8371) changes generic export options and remaining HTML export paths. Tinymist updates export computations and HTML export callers to the new option shape. - [`typst/typst#8294`](typst/typst#8294) changes PDF standards error handling. Tinymist updates PDF export error conversion for the new result type. ## Tinymist Changes - Updates `tinymist-task` PNG, SVG, PDF, and HTML export computations to the Typst 0.15 option APIs. - Updates CLI render option forwarding for the new page/export option surface. - Updates typlite export tests affected by the Typst 0.15 export option behavior. --------- Co-authored-by: paran3xus <[email protected]>
Part of the Typst 0.15 cleanup stack. This slice covers export option changes across PNG, SVG, PDF, HTML, CLI rendering, and typlite fixtures. ## Upstream Typst Changes - [`typst/typst#6357`](typst/typst#6357) changes page export and render option handling. Tinymist updates PNG/SVG page export and CLI render option plumbing. - [`typst/typst#8370`](typst/typst#8370) changes merged SVG options. Tinymist updates merged SVG export construction. - [`typst/typst#8371`](typst/typst#8371) changes generic export options and remaining HTML export paths. Tinymist updates export computations and HTML export callers to the new option shape. - [`typst/typst#8294`](typst/typst#8294) changes PDF standards error handling. Tinymist updates PDF export error conversion for the new result type. ## Tinymist Changes - Updates `tinymist-task` PNG, SVG, PDF, and HTML export computations to the Typst 0.15 option APIs. - Updates CLI render option forwarding for the new page/export option surface. - Updates typlite export tests affected by the Typst 0.15 export option behavior. --------- Co-authored-by: paran3xus <[email protected]>
Part of the Typst 0.15 cleanup stack. This slice covers export option changes across PNG, SVG, PDF, HTML, CLI rendering, and typlite fixtures. ## Upstream Typst Changes - [`typst/typst#6357`](typst/typst#6357) changes page export and render option handling. Tinymist updates PNG/SVG page export and CLI render option plumbing. - [`typst/typst#8370`](typst/typst#8370) changes merged SVG options. Tinymist updates merged SVG export construction. - [`typst/typst#8371`](typst/typst#8371) changes generic export options and remaining HTML export paths. Tinymist updates export computations and HTML export callers to the new option shape. - [`typst/typst#8294`](typst/typst#8294) changes PDF standards error handling. Tinymist updates PDF export error conversion for the new result type. ## Tinymist Changes - Updates `tinymist-task` PNG, SVG, PDF, and HTML export computations to the Typst 0.15 option APIs. - Updates CLI render option forwarding for the new page/export option surface. - Updates typlite export tests affected by the Typst 0.15 export option behavior. --------- Co-authored-by: paran3xus <[email protected]>
This PR bumps Krilla to the latest version on its main branch.
It adds the capability to use multiple PDF standards (e.g. PDF/A-2a and PDF/UA-1) at a time.
Some test cases updated. Descriptions as on why can be found in the commit messages.
Closes #7183
Fixes #8154
Fixes #7269
Fixes #7235
Fixes #7990