Add files to test linked images in SVG images#12
Merged
laurmaedje merged 1 commit intotypst:mainfrom Sep 2, 2025
Merged
Conversation
10 tasks
Member
|
It's kinda a lot of files. The small images are nice and could come in handy in other tests, but the linking SVGs less so. Maybe we could just link to all files from a single SVG? |
c70977e to
72942c4
Compare
Contributor
Author
|
Good point. I've put them all in one linked SVG with some graphics in front and behind the linked images. I've also further optimized the byte size of the bitmaps a bit and made them more cheerful! I hope the force push is ok. It seemed better to get rid of the commit with the previous iteration of the bitmaps. |
Member
|
You can push however you like, I'll squash on merge anyway. :) Is this ready for merge? |
Contributor
Author
|
Yes, I've used it in a manual test with the code in PR typst/typst#6794 and all looks good. This is the test file: #set page(width: auto, height: auto, margin: 1pt)
#set text(1pt)
#image("linked.svg") |
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are some small test files related to typst/typst#6794
They can be used in the following typst document for testing: