You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Base64 encoded PNG content in SVG plots is not rendered in all PDF viewers #4901
bugSomething isn't workingpdfRelated to PDF export or PDF embedding.svgAnything about the file format for people who like to have fun.upstreamIssues in dependencies.
These PNGs are not shown when opening the PDF with Apple's Preview app or other widely used PDF viewers such as Skim or even the Safari Browser. Chrome and Firefox (so PDF.js-based readers) have no such issues.
How it should look like:
What I get with most viewers (at least on my Mac):
It's an Apple-specific bug, that's why it doesn't work in Safari/Preview/Skim, as they all rely on the same PDF engine (Quartz). It works fine on every other viewer (yellow is Quartz):
With that said, I have known about this bug for a while now, and I haven't found a way to work around it with how we the current SVG embeddal works in Typst...
bugSomething isn't workingpdfRelated to PDF export or PDF embedding.svgAnything about the file format for people who like to have fun.upstreamIssues in dependencies.
Activity
LaurenzV commentedon Sep 5, 2024
It's an Apple-specific bug, that's why it doesn't work in Safari/Preview/Skim, as they all rely on the same PDF engine (Quartz). It works fine on every other viewer (yellow is Quartz):
With that said, I have known about this bug for a while now, and I haven't found a way to work around it with how we the current SVG embeddal works in Typst...